mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 16:12:40 +00:00
Expose RSS feed in <head> element
This commit is contained in:
parent
560e80c837
commit
db1aab3f01
src/_includes
@ -7,6 +7,9 @@
|
||||
{% endblock %}
|
||||
{% include "global/metagen.njk" %}
|
||||
|
||||
{# Feeds #}
|
||||
{% include "global/feeds.njk" %}
|
||||
|
||||
{# Fonts #}
|
||||
{% include "global/fontdefault.njk" %}
|
||||
<link rel="stylesheet" href="{{'/assets/fonts/intel-one-mono/intel-one-mono.css' | url | safe}}">
|
||||
|
1
src/_includes/global/feeds.njk
Normal file
1
src/_includes/global/feeds.njk
Normal file
@ -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 %}">
|
||||
{% include "global/metagen.njk" %}
|
||||
|
||||
{# Feeds #}
|
||||
{% include "global/feeds.njk" %}
|
||||
|
||||
{# Style #}
|
||||
{% include "global/fontdefault.njk" %}
|
||||
<link rel="stylesheet" href="{{'/assets/css/misc.css' | url | safe}}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user