Use heading anchor shortcode for mod entry macro

This commit is contained in:
Helen Chong 2024-10-29 06:13:25 +08:00
parent b08328261c
commit 607f7aaf80
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{%- macro modEntry(params) -%}
### {{ params.title }}
{% headingAnchor 3 %}{{ params.title }}{% endheadingAnchor %}
<div class="mod-entry">
<img src="/assets/projects/{{ params.bannerFile }}" alt="Banner of {{ params.title }} mod" loading="lazy">
<p>{{ params.desc }}</p>
<p>{{ params.desc | safe }}</p>
<h4>Download the mod:</h4>
<div class="mod-entry__downloads">
{%- for download in params.downloads -%}