Use heading anchor shortcode for mod entry macro
This commit is contained in:
parent
b08328261c
commit
607f7aaf80
|
@ -1,8 +1,8 @@
|
||||||
{%- macro modEntry(params) -%}
|
{%- macro modEntry(params) -%}
|
||||||
### {{ params.title }}
|
{% headingAnchor 3 %}{{ params.title }}{% endheadingAnchor %}
|
||||||
<div class="mod-entry">
|
<div class="mod-entry">
|
||||||
<img src="/assets/projects/{{ params.bannerFile }}" alt="Banner of {{ params.title }} mod" loading="lazy">
|
<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>
|
<h4>Download the mod:</h4>
|
||||||
<div class="mod-entry__downloads">
|
<div class="mod-entry__downloads">
|
||||||
{%- for download in params.downloads -%}
|
{%- for download in params.downloads -%}
|
||||||
|
|
Loading…
Reference in New Issue