From 15f2a4def21efbebe4914ee9a54ab38e810bc14e Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sun, 15 Sep 2024 10:43:10 +0800 Subject: [PATCH] Fix missing RSS feed link --- src/_includes/global/macros.njk | 5 ----- src/_includes/main/changelogs.njk | 3 +-- src/_includes/main/footer.njk | 5 +++-- src/index.njk | 3 +-- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/_includes/global/macros.njk b/src/_includes/global/macros.njk index a37f146c..e18b7ec6 100644 --- a/src/_includes/global/macros.njk +++ b/src/_includes/global/macros.njk @@ -10,9 +10,4 @@ {%- endfor -%} -{%- endmacro -%} - -{%- macro siteFeedLink(linkText) -%} - - {{ linkText }} {%- endmacro -%} \ No newline at end of file diff --git a/src/_includes/main/changelogs.njk b/src/_includes/main/changelogs.njk index 6508777a..a0072eb9 100644 --- a/src/_includes/main/changelogs.njk +++ b/src/_includes/main/changelogs.njk @@ -22,8 +22,7 @@ articleElement: true -{% from "global/macros.njk" import siteFeedLink %} -

To get notified of the updates on this website, you can subscribe to its {{ siteFeedLink("RSS feed") }}, which contains new articles, blog posts and website changelogs.

+

To get notified of the updates on this website, you can subscribe to its RSS feed, which contains new articles, blog posts and website changelogs.

{{ content | safe }} diff --git a/src/_includes/main/footer.njk b/src/_includes/main/footer.njk index 1a710d64..623f518d 100644 --- a/src/_includes/main/footer.njk +++ b/src/_includes/main/footer.njk @@ -3,9 +3,10 @@ {% block footerContent %}

Footer Navigation:

{% set currentUrl %}{{ page.url }}{% endset %} - {% from "global/macros.njk" import siteFeedLink %}