mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
rss feed fixes
This commit is contained in:
parent
ace41ceda5
commit
2f3eb99d11
@ -663,9 +663,7 @@ FileETag None
|
||||
</IfModule>
|
||||
|
||||
# feed redirects
|
||||
Redirect 301 /feed/ /feed.xml
|
||||
Redirect 301 /feed /feed.xml
|
||||
Redirect 301 /home/feed/ /feed.xml
|
||||
Redirect 301 /home/feed/ /feed/
|
||||
|
||||
# Remove date from post permalinks
|
||||
RedirectMatch 301 ^/([0-9]+)/([0-9]+)/(.*)$ /$3
|
||||
|
@ -20,7 +20,7 @@ layout: nil
|
||||
<link>{{ post.linkurl | escape }}</link>
|
||||
{% else %}
|
||||
<title>{{ post.title | escape }}</title>
|
||||
<link>{{ site.url }}/{{ post.url | escape }}</link>
|
||||
<link>{{ site.url }}{{ post.url | escape }}</link>
|
||||
{% endif %}
|
||||
|
||||
<published>{{ post.date | date_to_xmlschema }}</published>
|
||||
@ -29,7 +29,7 @@ layout: nil
|
||||
<updated>{{ post.updated | date_to_xmlschema }}</updated>
|
||||
{% endif %}
|
||||
|
||||
<id>{{ site.url }}/{{ post.url | escape }}</id>
|
||||
<id>{{ site.url }}{{ post.url | escape }}</id>
|
||||
<content type="html">
|
||||
{% if post.image %}
|
||||
<img src="{{ site.url }}/media/{{ post.image }}" />
|
||||
@ -39,7 +39,7 @@ layout: nil
|
||||
|
||||
{% if post.layout == "link" %}
|
||||
<a class="more-link" href="{{ post.linkurl | escape }}">Go to source &#187;</a> <br />
|
||||
<a href="{{ site.url }}/{{ post.url | escape }}" title="Permalink for this post">&#8734;</a>
|
||||
<a href="{{ site.url }}{{ post.url | escape }}" title="Permalink for this post">&#8734;</a>
|
||||
{% endif %}
|
||||
</content>
|
||||
</entry>
|
||||
|
Loading…
Reference in New Issue
Block a user