diff --git a/src/404.njk b/src/404.njk new file mode 100644 index 0000000..e69de29 diff --git a/src/500.njk b/src/500.njk new file mode 100644 index 0000000..e69de29 diff --git a/src/about.njk b/src/about.njk new file mode 100644 index 0000000..e69de29 diff --git a/src/feed.njk b/src/feed.njk new file mode 100644 index 0000000..31fd6dd --- /dev/null +++ b/src/feed.njk @@ -0,0 +1,28 @@ +--- +permalink: feed.xml +eleventyExcludeFromCollections: true +--- + + + + {{ site.name }} + {{ site.description }} + + + {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }} + {{ site.url }} + + {{ site.authorName }} + {{ site.authorEmail }} + + {%- for post in collections.posts %} + {% set absolutePostUrl %}{{ post.url | url | absoluteUrl(metadata.url) }}{% endset %} + + {{ post.data.title }} + + {{ post.date | dateToRfc3339 }} + {{ absolutePostUrl }} + {{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) }} + + {%- endfor %} + \ No newline at end of file diff --git a/src/robots.njk b/src/robots.njk new file mode 100644 index 0000000..ca60a79 --- /dev/null +++ b/src/robots.njk @@ -0,0 +1,3 @@ +--- +permalink: robots.txt +--- \ No newline at end of file diff --git a/src/sitemap.njk b/src/sitemap.njk new file mode 100644 index 0000000..37f8a36 --- /dev/null +++ b/src/sitemap.njk @@ -0,0 +1,3 @@ +--- +permalink: sitemap.xml +--- \ No newline at end of file diff --git a/src/tags.njk b/src/tags.njk new file mode 100644 index 0000000..e69de29