avoid trailing / in <link> tag
authorRalf Jung <post@ralfj.de>
Sun, 15 Dec 2024 13:56:26 +0000 (14:56 +0100)
committerRalf Jung <post@ralfj.de>
Sun, 15 Dec 2024 13:56:26 +0000 (14:56 +0100)
personal/_layouts/default.html

index 97795d73569f928c3ed3054c262c3491ac9b92a3..47fc337047b2130f37c483a0ddda1f4f002ab1d2 100644 (file)
@@ -11,8 +11,8 @@
     <link rel="stylesheet" href="{{ site.baseurl }}/style.css">
     <link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url }}">
     {% if page.rss %}
-        <link rel="alternate" type="application/atom+xml" title="{{ site.blog.title }}" href="{{ site.baseurl }}/blog/feed.xml" />
-        {% if page.category %}<link rel="alternate" type="application/atom+xml" title="{{ page.title }}" href="{{ site.baseurl }}{{ page.url | replace: '.html','.xml' }}" />{% endif %}
+        <link rel="alternate" type="application/atom+xml" title="{{ site.blog.title }}" href="{{ site.baseurl }}/blog/feed.xml">
+        {% if page.category %}<link rel="alternate" type="application/atom+xml" title="{{ page.title }}" href="{{ site.baseurl }}{{ page.url | replace: '.html','.xml' }}">{% endif %}
     {% endif %}
   </head>