This commit is contained in:
Panos Sakkos 2015-11-19 23:54:55 +01:00
parent 80c9c066c3
commit 894ff7f76a
13 changed files with 90 additions and 45 deletions

View file

@ -16,9 +16,6 @@
<meta name="author" content="{{site.author}}">
<meta name="keywords" content="{{site.keyword}}">
<link rel="canonical" href="{{page.url | replace:'index.html','' | prepend: site.baseurl}}">
{% if page.url == "/404.html" | prepend: {{site.baseurl}} %}
<meta http-equiv="refresh" content="20; url={{site.baseurl}}/">
{% endif %}
<title>{{site.title}} {% if page.title %} | {{page.title}}{% endif %}</title>
<!-- Bootstrap Core CSS -->
@ -44,9 +41,27 @@
{% if site.favicon %}
<link rel="shortcut icon" type="image/x-icon" href="{{site.baseurl}}{{site.favicon}}">
{% endif %}
{% if site.web-app-mode %}
<link rel="manifest" href="{{site.baseurl}}/manifest.json">
{% if page.url == "/404.html" | prepend: {{site.baseurl}} %}
<meta http-equiv="refresh" content="20; url={{site.baseurl}}/">
{% endif %}
{% if site.web-app-mode %}
<!-- Android Web App mode -->
<link rel="manifest" href="{{site.baseurl}}/manifest.json">
{% endif %}
{% if site.syntax-highlight and page.section-type == "post"%}
<!-- Syntax highlight in post pages -->
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/styles/monokai_sublime.min.css">
{% endif %}
</head>
<!-- HEAD End -->

View file

@ -22,7 +22,7 @@ $(window).scroll(toggleNavCollapse);$(function(){$("a.page-scroll").bind("click"
{% if page.section-type == "index" %}
<!-- Collapse navbar when navvar-brand is clicked -->
<!-- Collapse navbar when navbar-brand is clicked -->
<script>
$(function(){$(".navbar-brand").click(function(){$(".collapse.in")&&$(".collapse.in").animate({height:"1px"},500,function(){$(".collapse.in").removeClass("in")})})});
@ -30,6 +30,15 @@ $(window).scroll(toggleNavCollapse);$(function(){$("a.page-scroll").bind("click"
{% endif %}
{% if site.syntax-highlight and page.section-type == "post" %}
<!-- Syntax highlight in post pages-->
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.2/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
{% endif %}
{% if site.google-tracking-id %}
<!-- Google Tracking Id Start -->