diff themes/default/static_blog.html @ 855:de17f7313cbe

server (blog): fixed atom feed link
author Goffi <goffi@goffi.org>
date Fri, 22 Jan 2016 20:22:30 +0100
parents fe43cf3ed7d8
children c030d8235c23
line wrap: on
line diff
--- a/themes/default/static_blog.html	Fri Jan 22 20:22:30 2016 +0100
+++ b/themes/default/static_blog.html	Fri Jan 22 20:22:30 2016 +0100
@@ -45,7 +45,7 @@
             {% if entry.tags %}
                 <ul class="mblog_tags">
                 {% for tag in entry.tags %}
-                    <li><a href="{{base_url}}?tag={{tag}}">{{tag}}</a></li>
+                    <li><a href="{{url_base}}?tag={{tag}}">{{tag}}</a></li>
                 {% endfor %}
                 </ul>
             {% endif %}
@@ -86,7 +86,7 @@
         <meta charset="UTF-8" />
         <meta name="keywords" content="{{keywords}}" />
         <meta name="description" content="{{description}}" />
-        <link rel="alternate" type="application/atom+xml" href="{{base_url}}/atom.xml" />
+        <link rel="alternate" type="application/atom+xml" href="{{url_base}}/atom.xml" />
         <link rel='stylesheet' type="text/css" href='{{styles}}/blog.css' />
         <link rel="icon" type="image/png" href="{{favicon}}" />
 
@@ -95,7 +95,7 @@
 
     <body>
         <div class="mblog_title">
-            <a href="{{base_url}}">
+            <a href="{{url_base}}">
                 {{ image(banner_img) }}
                 {{ title }}
             </a>
@@ -127,7 +127,7 @@
 
         <div class="feed">
             Subscribe to this news feed
-            <a href="{{base_url}}/atom.xml" target="#">
+            <a href="{{url_base}}/atom.xml{{url_query}}" target="#">
                 <img src="{{images}}/atom/Feed-icon.svg" alt="Atom feed" />
             </a>
         </div>