Skip to content

Commit

Permalink
add per page stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jieiku committed Dec 1, 2024
1 parent 05a92f2 commit f69dd7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
<link rel="stylesheet" href="{{ get_url(path=i , trailing_slash=false, cachebust=true) | safe }}" />
{%- endfor %}{%- endif %}

{%- if page.extra.stylesheets %}{%- set pagestylesheets=page.extra.stylesheets -%}{%- endif %}
{%- if pagestylesheets %}{%- for i in pagestylesheets %}
<link rel="stylesheet" href="{{ get_url(path=i , trailing_slash=false, cachebust=true) | safe }}" />
{%- endfor %}{%- endif %}




Expand Down

0 comments on commit f69dd7b

Please sign in to comment.