diff --git a/src/_includes/global/base.njk b/src/_includes/global/base.njk index 4192122f..fc3e7207 100644 --- a/src/_includes/global/base.njk +++ b/src/_includes/global/base.njk @@ -16,10 +16,10 @@ {# Favicon #} - - - - + + + + {# CSS #} {% include "global/css.njk" %} @@ -32,7 +32,7 @@ {# JavaScript #} {% if toc %} - + {% endif %} {% if title %} {{ title }} | {% endif %} {{ sitemeta.siteName }} diff --git a/src/_includes/global/css.njk b/src/_includes/global/css.njk index fe16b170..aa4e9648 100644 --- a/src/_includes/global/css.njk +++ b/src/_includes/global/css.njk @@ -12,5 +12,5 @@ ] %} {%- for file in cssFiles -%} - + {%- endfor -%} \ No newline at end of file diff --git a/src/blog/feed.njk b/src/blog/feed.njk index 9e18a0a1..c854f8d8 100644 --- a/src/blog/feed.njk +++ b/src/blog/feed.njk @@ -16,7 +16,7 @@ eleventyExcludeFromCollections: true {{ sitemeta.siteAuthor.email }} {%- for post in collections.posts | reverse | limit(10) %} - {% set absolutePostUrl %}{{ post.url | url | absoluteUrl(sitemeta.siteBlog.url) }}{% endset %} + {% set absolutePostUrl %}{{ post.url | absoluteUrl(sitemeta.siteBlog.url) }}{% endset %} {{ post.data.title }} diff --git a/src/sitemap.xml.njk b/src/sitemap.xml.njk index 3db9bed5..c3b806ba 100644 --- a/src/sitemap.xml.njk +++ b/src/sitemap.xml.njk @@ -6,7 +6,7 @@ eleventyExcludeFromCollections: true {%- for item in collections.all %} - {{ sitemeta.siteUrl + item.url | url }} + {{ sitemeta.siteUrl + item.url }} {% if item.updated %}{{ item.updated.toISOString() }}{% else %}{{ item.date.toISOString() }}{% endif %} {{ item.data.sitemap.changefreq | default("weekly") }} {{ item.data.sitemap.priority | default(0.5) }}