From ab1c995d1ebedf2d577ab55b5e0dde78e157c3f8 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 20 Apr 2024 15:01:51 +0800 Subject: [PATCH] Create macro for mod entry --- src/_includes/main/mod-entry.njk | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/_includes/main/mod-entry.njk diff --git a/src/_includes/main/mod-entry.njk b/src/_includes/main/mod-entry.njk new file mode 100644 index 00000000..b9fc5b4c --- /dev/null +++ b/src/_includes/main/mod-entry.njk @@ -0,0 +1,11 @@ +{%- macro modEntry(params) -%} +
+ Banner of {{ params.title }} mod +

{{ params.desc }}

+
+ {%- for download in params.downloads -%} + {{ download.site }} + {%- endfor -%} +
+
+{%- endmacro -%} \ No newline at end of file