Browse Source

feed: Fix URLs

Chimo 2 years ago
parent
commit
f7877beb9c
1 changed files with 8 additions and 9 deletions
  1. 8
    9
      feed.xml

+ 8
- 9
feed.xml View File

@@ -5,14 +5,14 @@ sitemap: false
5 5
 <feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
6 6
 <title type="text">{{ site.title }}</title>
7 7
 <generator uri="https://github.com/jekyll/jekyll">Jekyll</generator>
8
-<link rel="self" type="application/atom+xml" href="{{ site.url }}/feed.xml" />
8
+<link rel="self" type="application/atom+xml" href="https:{{ site.url }}/feed.xml" />
9 9
 <link rel="hub" href="https://push.chromic.org" />
10
-<link rel="alternate" type="text/html" href="{{ site.url }}" />
10
+<link rel="alternate" type="text/html" href="https:{{ site.url }}" />
11 11
 <updated>{{ site.time | date_to_xmlschema }}</updated>
12
-<id>{{ site.url }}/</id>
12
+<id>https://{{ site.url }}/</id>
13 13
 <author>
14 14
   <name>{{ site.owner.name }}</name>
15
-  <uri>{{ site.url }}/</uri>
15
+  <uri>https://{{ site.url }}/</uri>
16 16
   {% if site.owner.email %}<email>{{ site.owner.email }}</email>{% endif %}
17 17
 </author>
18 18
 {% for post in site.categories.blog limit:20 %}
@@ -23,20 +23,19 @@ sitemap: false
23 23
 {% endif %}
24 24
 <entry>
25 25
   <title type="html"><![CDATA[{{ post.title | cdata_escape }}]]></title>
26
-  <link rel="alternate" type="text/html" href="{{ site.url }}{{ post.url }}" />
27
-  <id>{{ site.url }}{{ post.id }}</id>
26
+  <link rel="alternate" type="text/html" href="https:{{ site.url }}{{ post.url }}" />
27
+  <id>https:{{ site.url }}{{ post.id }}</id>
28 28
   {% if post.modified %}<updated>{{ post.modified | to_xmlschema }}T00:00:00-00:00</updated>
29 29
   <published>{{ post.date | date_to_xmlschema }}</published>
30 30
   {% else %}<published>{{ post.date | date_to_xmlschema }}</published>
31 31
   <updated>{{ post.date | date_to_xmlschema }}</updated>{% endif %}
32 32
   <author>
33 33
     <name>{{ author.name }}</name>
34
-    <uri>{{ site.url }}</uri>
34
+    <uri>https:{{ site.url }}</uri>
35 35
     {% if author.email %}<email>{{ author.email }}</email>{% endif %}
36 36
   </author>
37 37
   <summary type="html">{{ post.excerpt | xml_escape }}</summary>
38
-  <content type="html">{{ post.content | xml_escape }}
39
-  &lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title }}&lt;/a&gt; was originally published by {{ author.name }} at &lt;a href=&quot;{{ site.url }}&quot;&gt;{{ site.title }}&lt;/a&gt; on {{ post.date | date: "%B %d, %Y" }}.&lt;/p&gt;</content>
38
+  <content type="html">{{ post.content | xml_escape }}</content>
40 39
 </entry>
41 40
 {% endfor %}
42 41
 </feed>

Loading…
Cancel
Save