Add meta to Atom
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
7e77bdeef1
commit
b1f2d4b51d
|
@ -30,11 +30,13 @@
|
||||||
<updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
|
<updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
|
||||||
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
|
<link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
|
||||||
<id>{{ page.permalink | safe }}</id>
|
<id>{{ page.permalink | safe }}</id>
|
||||||
<summary>
|
<summary>{{ page.description | default(value="a post from mat's blog.") | safe }}</summary>
|
||||||
{{ page.description | safe | default(value="a post from mat's blog.") -}}
|
|
||||||
</summary>
|
|
||||||
<content type="html">
|
<content type="html">
|
||||||
|
{%- if page.extra.hero %}
|
||||||
|
<![CDATA[<meta property="og:image" content="{{ get_url(path=page.path) }}/hero.webp">]]>
|
||||||
|
<![CDATA[<meta property="twitter:image" content="{{ get_url(path=page.path) }}/hero.webp">]]>
|
||||||
<![CDATA[{{ post_macros::hero(page=page) }}]]>
|
<![CDATA[{{ post_macros::hero(page=page) }}]]>
|
||||||
|
{% endif -%}
|
||||||
{{ page.content }}
|
{{ page.content }}
|
||||||
</content>
|
</content>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
<link href="{{ get_url(path='style/fonts.css', cachebust=true) }}" rel="stylesheet preload" as="style" />
|
<link href="{{ get_url(path='style/fonts.css', cachebust=true) }}" rel="stylesheet preload" as="style" />
|
||||||
{# RSS #}
|
{# Atom #}
|
||||||
{%- block rss -%}
|
{%- block rss -%}
|
||||||
<link rel="alternate" type="application/atom+xml" title="{{ config.title }}" href="{{ get_url(path='atom.xml', trailing_slash=false) }}">
|
<link rel="alternate" type="application/atom+xml" title="{{ config.title }}" href="{{ get_url(path='atom.xml', trailing_slash=false) }}">
|
||||||
{%- endblock -%}
|
{%- endblock -%}
|
||||||
|
|
Loading…
Reference in New Issue