Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfcc7743

Browse files
committed
Move feed footer to an include
1 parent963c2f5 commitfcc7743

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎_includes/feed-footer.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p><a href="{{ site.url }}{{ post.url }}">{{ post.title | xml_escape }}</a> was originally published by {{ site.owner.name }} at <a href="{{ site.url }}">{{ site.title }}</a> on {{ post.date | date: "%B %d, %Y" }}.</p>

‎feed.xml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: null
33
---
4-
<?xml version="1.0" encoding="utf-8"?>
4+
<?xml version="1.0" encoding="UTF-8"?>
55
<feedxmlns="http://www.w3.org/2005/Atom"xml:lang="en">
66
<titletype="text">{{ site.title }}</title>
77
<generatoruri="https://github.com/mojombo/jekyll">Jekyll</generator>
@@ -29,8 +29,10 @@ layout: null
2929
<uri>{{ site.url }}</uri>
3030
<email>{{ site.owner.email }}</email>
3131
</author>
32-
<contenttype="html">{{ post.content | xml_escape }}
33-
&lt;p&gt;&lt;a href=&quot;{{ site.url }}{{ post.url }}&quot;&gt;{{ post.title | xml_escape }}&lt;/a&gt; was originally published by {{ site.owner.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>
32+
<contenttype="html">
33+
{{ post.content | xml_escape }}
34+
{% include feed-footer.html %}
35+
</content>
3436
</entry>
3537
{% endfor %}
3638
</feed>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp