Changes to global config for templates

This commit is contained in:
Stephan Hagedorn 2021-03-09 15:54:23 +01:00
parent dd5ff43e16
commit dde26ec45e
6 changed files with 13450 additions and 31 deletions

View file

@ -1,5 +1,5 @@
<!-- index.screen -->
{% set pageBase = "./" %}
{% set pageBase = hippie.pageBase %}
{% set pageId = "index" %}
{% set pageClass = "h_full_view" %}
@ -60,10 +60,10 @@
{% block script %}
{{ super() }}
<script src="{{ hippie.pageBase }}js/{{ hippie.jsFile }}.min.js"></script>
<script src="{{ pageBase }}js/{{ hippie.jsFile }}.min.js"></script>
<!-- build:js js/main.concat.min.js -->
{# <script src="{{ hippie.pageBase }}js/config.min.js" type="module"></script> #}
{# <script src="{{ hippie.pageBase }}js/main.min.js"></script> #}
{# <script src="{{ pageBase }}js/config.min.js" type="module"></script> #}
{# <script src="{{ pageBase }}js/main.min.js"></script> #}
<!-- endbuild -->
<script>
// Page specific

View file

@ -24,7 +24,7 @@
{% include "demo/partials/_links.njk" %}
{% block links %}
{# <link rel="stylesheet" type="text/css" media="all" href="css/demo.css"/> #}
{# <link rel="stylesheet" type="text/css" media="all" href="{{ hippie.pageBase | subdir(2) }}css/demo.css"/> #}
{# <link rel="stylesheet" type="text/css" media="all" href="{{ pageBase | subdir(2) }}css/demo.css"/> #}
<link rel="stylesheet" type="text/css" media="all" href="{{ pageBase }}css/demo.css"/>
{% endblock %}
<script>