generated from dustin-jw/eleventy-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: tabs over spaces in nunjucks files
- Loading branch information
1 parent
6c7117d
commit dcf8dc7
Showing
16 changed files
with
450 additions
and
450 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
---json | ||
{ | ||
"permalink": "feed.xml", | ||
"eleventyExcludeFromCollections": true, | ||
"metadata": { | ||
"title": "Dustin Whisman", | ||
"subtitle": "The collected writings of Dustin Whisman, full stack developer.", | ||
"language": "en", | ||
"url": "https://dustinwhisman.com", | ||
"author": { | ||
"name": "Dustin Whisman" | ||
} | ||
} | ||
"permalink": "feed.xml", | ||
"eleventyExcludeFromCollections": true, | ||
"metadata": { | ||
"title": "Dustin Whisman", | ||
"subtitle": "The collected writings of Dustin Whisman, full stack developer.", | ||
"language": "en", | ||
"url": "https://dustinwhisman.com", | ||
"author": { | ||
"name": "Dustin Whisman" | ||
} | ||
} | ||
} | ||
--- | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:base="{{ metadata.url }}" xmlns:atom="http://www.w3.org/2005/Atom"> | ||
<channel> | ||
<title>{{ metadata.title }}</title> | ||
<link>{{ metadata.url }}</link> | ||
<atom:link href="{{ metadata.url }}/{{ permalink }}" rel="self" type="application/rss+xml" /> | ||
<description>{{ metadata.subtitle }}</description> | ||
<language>{{ metadata.language }}</language> | ||
{%- for post in collections.writing | reverse %} | ||
{%- set absolutePostUrl = metadata.url + post.url %} | ||
<item> | ||
<title>{{ post.data.articleTitle }}</title> | ||
<link>{{ absolutePostUrl }}</link> | ||
<description>{{ post.data.description }}</description> | ||
<pubDate>{{ post.date.toUTCString() }}</pubDate> | ||
<dc:creator>{{ metadata.author.name }}</dc:creator> | ||
<guid>{{ absolutePostUrl }}</guid> | ||
</item> | ||
{%- endfor %} | ||
</channel> | ||
<channel> | ||
<title>{{ metadata.title }}</title> | ||
<link>{{ metadata.url }}</link> | ||
<atom:link href="{{ metadata.url }}/{{ permalink }}" rel="self" type="application/rss+xml" /> | ||
<description>{{ metadata.subtitle }}</description> | ||
<language>{{ metadata.language }}</language> | ||
{%- for post in collections.writing | reverse %} | ||
{%- set absolutePostUrl = metadata.url + post.url %} | ||
<item> | ||
<title>{{ post.data.articleTitle }}</title> | ||
<link>{{ absolutePostUrl }}</link> | ||
<description>{{ post.data.description }}</description> | ||
<pubDate>{{ post.date.toUTCString() }}</pubDate> | ||
<dc:creator>{{ metadata.author.name }}</dc:creator> | ||
<guid>{{ absolutePostUrl }}</guid> | ||
</item> | ||
{%- endfor %} | ||
</channel> | ||
</rss> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.