Skip to content

Commit

Permalink
Merge pull request #131 from welpo/fix/nojs-css-loading
Browse files Browse the repository at this point in the history
Fix: Always load `nojs.css` irrespective of `build_search_index` setting
  • Loading branch information
Jieiku authored Aug 2, 2023
2 parents 5c3cc89 + 0c0c0e1 commit dfa3de9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
{{- macros_head::security(config=config) }}
{{- macros_head::favicons(config=config) }}
{%- if config.build_search_index %}
<noscript><link rel="stylesheet" href="{{ get_url(path='nojs.css', trailing_slash=false) | safe }}" /></noscript>
{%- endif %}
</head>
<body>
{%- block header %}
Expand Down Expand Up @@ -119,4 +117,4 @@ <h1><a href="{{ config.base_url | safe }}/{%- if config.extra.uglyurls %}index.h
{%- block gotop %}
{%- endblock gotop %}
</body>
</html>
</html>

0 comments on commit dfa3de9

Please sign in to comment.