Fix issue of feed permalink failing to be generated

This commit is contained in:
Leilukin 2024-08-11 23:18:39 +08:00 committed by Helen Chong
parent 24b497207f
commit c67d7282b2

View File

@ -2,7 +2,7 @@
# sitemeta comes from _data/sitemeta.js # sitemeta comes from _data/sitemeta.js
eleventyExcludeFromCollections: true eleventyExcludeFromCollections: true
eleventyComputed: eleventyComputed:
permalink: {{ sitemeta.feedPath }} permalink: "{{ sitemeta.feedPath }}"
--- ---
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"> <feed xmlns="http://www.w3.org/2005/Atom">