Create macro for mod entry
This commit is contained in:
parent
672cec6470
commit
ab1c995d1e
|
@ -0,0 +1,11 @@
|
||||||
|
{%- macro modEntry(params) -%}
|
||||||
|
<div class="mod-entry">
|
||||||
|
<img src="/assets/projects/{{ params.bannerFile }}" alt="Banner of {{ params.title }} mod">
|
||||||
|
<p>{{ params.desc }}</p>
|
||||||
|
<div class="mod-entry__downloads">
|
||||||
|
{%- for download in params.downloads -%}
|
||||||
|
<a class="link-btn" href="{{ download.url }}" target="_blank">{{ download.site }}</a>
|
||||||
|
{%- endfor -%}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{%- endmacro -%}
|
Loading…
Reference in New Issue