~tobyvin/tobyvin.dev

01e90bcf11f690e9883540f003b1d03aecb03cbb — Toby Vincent 4 months ago 85159ba
fix: fix feed url to serve atom.xml
2 files changed, 7 insertions(+), 4 deletions(-)

M templates/index.html
M templates/shortcodes/meta.html
M templates/index.html => templates/index.html +6 -4
@@ 24,10 24,12 @@
    {% endblock title %}
    <meta name="description" content="{{ config.description }}" />
    <meta name="keywords" content="blog" />
    <link rel="alternate"
          type="application/rss+xml"
          title="RSS"
          href="{{ get_url(path="rss.xml", trailing_slash=false) }}" />
    {% block feed %}
      <link rel="alternate"
            type="application/atom+xml"
            title="Atom Feed"
            href="{{ get_url(path="atom.xml", trailing_slash=false) }}" />
    {% endblock feed %}
    <link rel="stylesheet" type="text/css" href="/style.css" />
  </head>
  <body>

M templates/shortcodes/meta.html => templates/shortcodes/meta.html +1 -0
@@ 1,3 1,4 @@
{# meta links #}
{% import "macros.html" as macros %}
<address>
  <dl>