_includes/head.html in jekyll-theme-pirati-3.1.0 vs _includes/head.html in jekyll-theme-pirati-3.1.1
- old
+ new
@@ -9,41 +9,41 @@
<meta name="author" content="Česká pirátská strana" />
<meta name="robots" content="index,follow" />
<meta name="description" content="{{description}}">
<meta name="keywords" content="{{keywords}}" />
<!-- Favicons -->
- <link rel="apple-touch-icon-precomposed" sizes="57x57" href="{% asset favicon/apple-touch-icon-57x57.png @path %}">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{% asset favicon/apple-touch-icon-114x114.png @path %}">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{% asset favicon/apple-touch-icon-72x72.png @path %}">
- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{% asset favicon/apple-touch-icon-144x144.png @path %}">
- <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{% asset favicon/apple-touch-icon-60x60.png @path %}">
- <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{% asset favicon/apple-touch-icon-120x120.png @path %}">
- <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{% asset favicon/apple-touch-icon-76x76.png @path %}">
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{% asset favicon/apple-touch-icon-152x152.png @path %}">
- <link rel="icon" type="image/png" href="{% asset favicon/favicon-196x196.png @path %}" sizes="196x196">
- <link rel="icon" type="image/png" href="{% asset favicon/favicon-96x96.png @path %}" sizes="96x96">
- <link rel="icon" type="image/png" href="{% asset favicon/favicon-16x16.png @path %}" sizes="16x16">
- <link rel="icon" type="image/png" href="{% asset favicon/favicon-32x32.png @path %}" sizes="32x32">
- <link rel="icon" type="image/png" href="{% asset favicon/favicon-128x128.png @path %}" sizes="128x128">
+ <link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ 'assets/img/favicon/apple-touch-icon-57x57.png' | relative_url }}">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ 'assets/img/favicon/apple-touch-icon-114x114.png' | relative_url }}">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ 'assets/img/favicon/apple-touch-icon-72x72.png' | relative_url }}">
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ 'assets/img/favicon/apple-touch-icon-144x144.png' | relative_url }}">
+ <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{{ 'assets/img/favicon/apple-touch-icon-60x60.png' | relative_url }}">
+ <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{{ 'assets/img/favicon/apple-touch-icon-120x120.png' | relative_url }}">
+ <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{{ 'assets/img/favicon/apple-touch-icon-76x76.png' | relative_url }}">
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ 'assets/img/favicon/apple-touch-icon-152x152.png' | relative_url }}">
+ <link rel="icon" type="image/png" href="{{ 'assets/img/favicon/favicon-196x196.png' | relative_url }}" sizes="196x196">
+ <link rel="icon" type="image/png" href="{{ 'assets/img/favicon/favicon-96x96.png' | relative_url }}" sizes="96x96">
+ <link rel="icon" type="image/png" href="{{ 'assets/img/favicon/favicon-16x16.png' | relative_url }}" sizes="16x16">
+ <link rel="icon" type="image/png" href="{{ 'assets/img/favicon/favicon-32x32.png' | relative_url }}" sizes="32x32">
+ <link rel="icon" type="image/png" href="{{ 'assets//imgfavicon/favicon-128.png' | relative_url }}" sizes="128x128">
<link rel="alternate" type="application/rss+xml" title="{{ site.organization.name }} RSS" href="{{ '/feed.xml' | relative_url }}">
<meta name="application-name" content="{{ site.organization.name | escape }}">
<meta name="msapplication-TileColor" content="#000000">
- <meta name="msapplication-TileImage" content="{% asset favicon/mstile-144x144.png @path %}">
- <meta name="msapplication-square70x70logo" content="{% asset favicon/mstile-70x70.png @path %}">
- <meta name="msapplication-square150x150logo" content="{% asset favicon/mstile-150x150.png @path %}">
- <meta name="msapplication-wide310x150logo" content="{% asset favicon/mstile-310x150.png @path %}">
- <meta name="msapplication-square310x310logo" content="{% asset favicon/mstile-310x150.png @path %}">
+ <meta name="msapplication-TileImage" content="{{ 'assets/img/favicon/mstile-144x144.png' | relative_url }}">
+ <meta name="msapplication-square70x70logo" content="{{ 'assets/img/favicon/mstile-70x70.png' | relative_url }}">
+ <meta name="msapplication-square150x150logo" content="{{ 'assets/img/favicon/mstile-150x150.png' | relative_url }}">
+ <meta name="msapplication-wide310x150logo" content="{{ 'assets/img/favicon/mstile-310x150.png' | relative_url }}">
+ <meta name="msapplication-square310x310logo" content="{{ 'assets/img/favicon/mstile-310x310.png' | relative_url }}">
<meta property="og:url" content="{{ page.url | absolute_url }}" />
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
{% if page.layout == 'post' %}
- <meta property="og:image" content="{% asset '{{ page.image }}' @path %}" />
+ <meta property="og:image" content="{{ page.image | relative_url }}" />
{% elsif page.img %}
- <meta property="og:image" content="{% asset '{{ page.img }}' @path %}" />
+ <meta property="og:image" content="{{ 'assets/{{ page.img | relative_url }}" />
{% else %}
- <meta property="og:image" content="{% asset brand/logo-round.png @path %}" />
+ <meta property="og:image" content="{{ 'assets/img/brand/logo-round.png' | relative_url }}" />
{% endif %}
<!-- Fonts -->
{% if page.layout != 'blank' %}
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="{% asset 'main.css' @path !type %}">
@@ -53,5 +53,6 @@
<script type="text/javascript" src="https://api.mapy.cz/loader.js"></script>
<script type="text/javascript">Loader.load({% if page.mapycz_api=='mini-api' %}null, {api:"simple"}{% endif %})</script>
<style>.smap img { max-width: none !important; transform: none;}</style>
{% endif %}
</head>
+