diff options
| author | Veikka Kähkönen <insiding@gmail.com> | 2017-11-27 23:09:06 +0200 |
|---|---|---|
| committer | Veikka Kähkönen <insiding@gmail.com> | 2017-11-27 23:09:06 +0200 |
| commit | 6fb186d18008e24e97212c27a3f60138965aa33e (patch) | |
| tree | 66060c55c4e85719ec62f846ff027383bbba288d /_includes/head.html | |
| parent | df4d2a345886f0114684358a91c9b4ba2fc8cb73 (diff) | |
Use absolute_url filter instead of a custom variable for URLs
Diffstat (limited to '_includes/head.html')
| -rw-r--r-- | _includes/head.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_includes/head.html b/_includes/head.html index 7db3027..b4e5c8e 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,9 +4,9 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title> <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}"> - <link rel="icon" type="image/png" href="{{ site_full_url }}/favicon.png" /> - <link rel="stylesheet" href="{{ site_full_url }}/css/main.css"> - <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site_full_url }}"> - <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ site_full_url }}/feed.xml"> + <link rel="icon" type="image/png" href="{{ "/favicon.png" | absolute_url }}" /> + <link rel="stylesheet" href="{{ "/css/main.css" | absolute_url }}"> + <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}"> + <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | absolute_url }}"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> </head> |
