Skip to content

Commit

Permalink
Use sitemeta data variable for feed path
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Aug 11, 2024
1 parent 92baaf9 commit a4e90a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/_includes/blog/blognav.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ entry.title }}
</a></li>
{%- endfor %}
<li><a href="/blog/feed.xml">RSS</a></li>
<li><a href="{{ sitemeta.feedPath }}">RSS</a></li>
</ul>
</nav>
</aside>
2 changes: 1 addition & 1 deletion src/_includes/global/footer.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p>Built with &#x2661; by {{ sitemeta.siteAuthor.name }}. 2023–{% currentYear %}.</p>

<ul class="inline-list">
<li><a href="/blog/feed.xml">RSS Feed</a></li>
<li><a href="{{ sitemeta.feedPath }}">RSS Feed</a></li>
{%- for statement in collections.statements -%}
<li><a
{% if entry.url == page.url %}aria-current="page"{% endif %}
Expand Down

0 comments on commit a4e90a2

Please sign in to comment.