added unmung url to convert rss to mf2 for brid.gy to be happy when it parses my site

This commit is contained in:
Peter Molnar 2019-05-22 20:54:56 +01:00
parent 5693585695
commit f5297f58c8
2 changed files with 6 additions and 6 deletions

View file

@ -6,7 +6,7 @@
<link rel="alternate" type="application/rss+xml" title="{{ category.title }} RSS feed" href="{{ category.feed }}" /> <link rel="alternate" type="application/rss+xml" title="{{ category.title }} RSS feed" href="{{ category.feed }}" />
<link rel="alternate" type="application/atom+xml" title="{{ category.title }} ATOM feed" href="{{ category.feed }}atom.xml" /> <link rel="alternate" type="application/atom+xml" title="{{ category.title }} ATOM feed" href="{{ category.feed }}atom.xml" />
<link rel="alternate" type="application/json" title="{{ category.title }} JSON feed" href="{{ category.feed }}index.json" /> <link rel="alternate" type="application/json" title="{{ category.title }} JSON feed" href="{{ category.feed }}index.json" />
<link rel="feed" title="{{ category.title}} feed" href="{{ category.url }}" /> <link rel="feed" title="{{ category.title}} feed" href="http://www.unmung.com/feed?feed={{ category.feed|urlencode }}" />
{% endblock %} {% endblock %}
{% block pagination %} {% block pagination %}

View file

@ -3,14 +3,14 @@
{% block title %}{{ post.headline }} - {{ site.name }}{% endblock %} {% block title %}{{ post.headline }} - {{ site.name }}{% endblock %}
{% block meta %} {% block meta %}
{% set feed = site.url + '/feed/' %}
<meta name="author" content="{{ site.author.name }} <{{ site.author.email }}>" /> <meta name="author" content="{{ site.author.name }} <{{ site.author.email }}>" />
<meta name="description" content="{{ post.description|e }}" /> <meta name="description" content="{{ post.description|e }}" />
<link rel="canonical" href="{{ site.url }}" /> <link rel="canonical" href="{{ site.url }}" />
{% for category, latest in elements %} <link rel="alternate" type="application/rss+xml" title="{{ site.title }} RSS feed" href="{{ feed }}" />
<link rel="alternate" type="application/rss+xml" title="{{ category.title }} RSS feed" href="{{ category.feed }}" /> <link rel="alternate" type="application/atom+xml" title="{{ site.title }} ATOM feed" href="{{ feed }}atom.xml" />
<link rel="alternate" type="application/atom+xml" title="{{ category.title }} ATOM feed" href="{{ category.feed }}atom.xml" /> <link rel="alternate" type="application/json" title="{{ site.title }} JSON feed" href="{{ feed }}index.json" />
<link rel="feed" title="{{ category.title}} feed" href="{{ category.url }}" /> <link rel="feed" title="{{ site.title}} feed" href="http://www.unmung.com/feed?feed={{ feed|urlencode }}" />
{% endfor %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}