diff --git a/netlify.toml b/netlify.toml index 18c27674..14e10750 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,21 +15,18 @@ package = "@netlify/plugin-lighthouse" ### [[headers]] for = "/feed.xml" - [headers.values] Content-Type = "application/xml; charset=utf-8" x-content-type-options = "nosniff" [[headers]] for = "/links.xml" - [headers.values] Content-Type = "application/xml; charset=utf-8" x-content-type-options = "nosniff" [[headers]] for = "/books.xml" - [headers.values] Content-Type = "application/xml; charset=utf-8" x-content-type-options = "nosniff" diff --git a/src/_includes/feeds/books.liquid b/src/_includes/feeds/books.liquid index 9b535232..d9510198 100644 --- a/src/_includes/feeds/books.liquid +++ b/src/_includes/feeds/books.liquid @@ -4,8 +4,8 @@ <title> {% block title %}Books • Cory Dransfeldt{% endblock %} </title> - <link href="{{ pkg.homepage }}/books.xml" rel="self" /> - <link href="{{ pkg.homepage }}/" /> + <link href="{{ site.url }}/books.xml" rel="self" /> + <link href="{{ site.url }}" /> <link rel="hub" href="https://pubsubhubbub.superfeedr.com/" /> <updated>{% block update %}{{ books[0].dateAdded | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated> <id>{{ site.url }}</id> diff --git a/src/_includes/feeds/feed.liquid b/src/_includes/feeds/feed.liquid index 2ec2dc75..16b6e140 100644 --- a/src/_includes/feeds/feed.liquid +++ b/src/_includes/feeds/feed.liquid @@ -4,8 +4,8 @@ <title> {% block title %}All posts • Cory Dransfeldt{% endblock %} </title> - <link href="{{ pkg.homepage }}/feed.xml" rel="self" /> - <link href="{{ pkg.homepage }}/" /> + <link href="{{ site.url }}/feed.xml" rel="self" /> + <link href="{{ site.url }}" /> <link rel="hub" href="https://pubsubhubbub.superfeedr.com/" /> <updated>{% block update %}{{ collections.posts[0].date | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated> <id>{{ site.url }}/</id> diff --git a/src/_includes/feeds/follow.liquid b/src/_includes/feeds/follow.liquid index 87e33d3e..d36777c7 100644 --- a/src/_includes/feeds/follow.liquid +++ b/src/_includes/feeds/follow.liquid @@ -4,8 +4,8 @@ <title> {% block title %}Follow • Cory Dransfeldt{% endblock %} </title> - <link href="{{ pkg.homepage }}/follow.xml" rel="self" /> - <link href="{{ pkg.homepage }}/" /> + <link href="{{ site.url }}/follow.xml" rel="self" /> + <link href="{{ site.url }}" /> <link rel="hub" href="https://pubsubhubbub.superfeedr.com/" /> <updated>{% block update %}{{ follow.posts[0].date_published | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated> <id>{{ site.url }}</id> diff --git a/src/_includes/feeds/links.liquid b/src/_includes/feeds/links.liquid index 3904e199..cf8dcf65 100644 --- a/src/_includes/feeds/links.liquid +++ b/src/_includes/feeds/links.liquid @@ -4,8 +4,8 @@ <title> {% block title %}Links • Cory Dransfeldt{% endblock %} </title> - <link href="{{ pkg.homepage }}/links.xml" rel="self" /> - <link href="{{ pkg.homepage }}/" /> + <link href="{{ site.url }}/links.xml" rel="self" /> + <link href="{{ site.url }}" /> <link rel="hub" href="https://pubsubhubbub.superfeedr.com/" /> <updated>{% block update %}{{ links[0].date | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}</updated> <id>{{ site.url }}</id>