mirror of https://github.com/lukechilds/docs.git
Alexander Graebe
5 years ago
committed by
GitHub
10 changed files with 97 additions and 16 deletions
@ -0,0 +1,50 @@ |
|||
<head> |
|||
{% gtm head %} |
|||
<meta charset="utf-8"> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1"> |
|||
<title>{{ page.description | escape }}</title> |
|||
{% seo title=false %} |
|||
{% seo description=false %} |
|||
<!-- <meta property="og:image" content="{% if site.brand.image contains 'http' %}{{ site.brand.image }}{% else %}{{ site.post_assets | url }}{{ site.brand.image }}{% endif %}"/> --> |
|||
<meta property="og:image" content="{{site.url}}{{ page.image }}"/> |
|||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}"> |
|||
<link rel="shortcut icon" type="image/png" href="{{ "assets/img/touch-icon.png" | relative_url }}" > |
|||
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}"> |
|||
<script src="{{ "/assets/js/main.js" | relative_url }}" ></script> |
|||
{% if jekyll.environment == 'production' and site.google_analytics %} |
|||
{% include google-analytics.html %} |
|||
{% endif %} |
|||
<!-- https://www.bryanbraun.com/anchorjs/ --> |
|||
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script> |
|||
<script type"text/javascript" src="https://code.jquery.com/jquery-latest.min.js"> |
|||
switcherTab('uk-tab-instance'); |
|||
|
|||
function switcherTab(id){ |
|||
$('#'+id+' a[href = "'+window.location.hash+'"]').parent('li').click(); |
|||
|
|||
$('#'+id+' a').click(function(){ |
|||
var val = $(this).attr('href'); |
|||
window.location.hash = val.replace("#", ""); |
|||
}); |
|||
} |
|||
</script> |
|||
<!-- Load jquery.cookie plugin (optional) --> |
|||
<script type="text/javascript" src="/assets/navgoco/jquery.cookie.js"></script> |
|||
<!-- Load jquery.navgoco plugin js and css files --> |
|||
<script type="text/javascript" src="/assets/navgoco/jquery.navgoco.js"></script> |
|||
<link rel="stylesheet" href="/assets/navgoco/jquery.navgoco.css" type="text/css" media="screen" /> |
|||
<script type="text/javascript"> |
|||
$(document).ready(function() { |
|||
$('.nav').navgoco({ |
|||
caretHtml: '<i class="some-random-icon-class"></i>', |
|||
accordion: true, |
|||
openClass: 'open', |
|||
slide: { |
|||
duration: 400, |
|||
easing: 'swing' |
|||
} |
|||
}); |
|||
}); |
|||
</script> |
|||
</head> |
@ -0,0 +1,35 @@ |
|||
<!DOCTYPE html> |
|||
<html lang="{{ page.lang | default: site.lang | default: "en" }}"> |
|||
|
|||
{% include head-desc.html %} |
|||
|
|||
<body> |
|||
{% gtm body %} |
|||
|
|||
{% include header.html %} |
|||
|
|||
{% if page.hero %} |
|||
{% include hero.html %} |
|||
{% endif %} |
|||
|
|||
{{ content }} |
|||
|
|||
{% include offcanvas.html %} |
|||
|
|||
{% if page.hero %} |
|||
{% include search-hero.html %} |
|||
{% else %} |
|||
{% include search.html %} |
|||
{% endif %} |
|||
|
|||
|
|||
<script> |
|||
anchors.options = { |
|||
placement: 'left', |
|||
visible: 'hover' |
|||
}; |
|||
anchors.add(); |
|||
</script> |
|||
</body> |
|||
|
|||
</html> |
Loading…
Reference in new issue