From f69dd7bea484866c9993ba06adb00ac912b5a3ba Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 1 Dec 2024 01:28:27 -0800 Subject: add per page stylesheets --- templates/partials/head.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates') diff --git a/templates/partials/head.html b/templates/partials/head.html index 1b95cc8..668b811 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -21,6 +21,11 @@ {%- endfor %}{%- endif %} + {%- if page.extra.stylesheets %}{%- set pagestylesheets=page.extra.stylesheets -%}{%- endif %} + {%- if pagestylesheets %}{%- for i in pagestylesheets %} + + {%- endfor %}{%- endif %} + -- cgit v1.3.1