Expose RSS feed in <head> element
This commit is contained in:
parent
560e80c837
commit
db1aab3f01
|
@ -7,6 +7,9 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% include "global/metagen.njk" %}
|
{% include "global/metagen.njk" %}
|
||||||
|
|
||||||
|
{# Feeds #}
|
||||||
|
{% include "global/feeds.njk" %}
|
||||||
|
|
||||||
{# Fonts #}
|
{# Fonts #}
|
||||||
{% include "global/fontdefault.njk" %}
|
{% include "global/fontdefault.njk" %}
|
||||||
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
|
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="{{ sitemeta.siteName }}" href="{{ sitemeta.siteUrl }}/feed.xml" />
|
|
@ -9,6 +9,9 @@
|
||||||
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{{ sitemeta.siteName }}{% endif %}">
|
<meta property="og:title" content="{% if title %}{{ title }}{% else %}{{ sitemeta.siteName }}{% endif %}">
|
||||||
{% include "global/metagen.njk" %}
|
{% include "global/metagen.njk" %}
|
||||||
|
|
||||||
|
{# Feeds #}
|
||||||
|
{% include "global/feeds.njk" %}
|
||||||
|
|
||||||
{# Style #}
|
{# Style #}
|
||||||
{% include "global/fontdefault.njk" %}
|
{% include "global/fontdefault.njk" %}
|
||||||
<link rel="stylesheet" href="{{'/assets/css/misc.css' | url | safe}}">
|
<link rel="stylesheet" href="{{'/assets/css/misc.css' | url | safe}}">
|
||||||
|
|
Loading…
Reference in New Issue