2024-08-11 12:05:18 +02:00
---
permalink: "/"
2024-08-11 15:15:07 +02:00
title: Index
tags:
2024-08-11 15:34:55 +02:00
- demoIndex
2024-08-11 12:05:18 +02:00
---
2021-03-09 15:54:23 +01:00
{% set pageBase = hippie.pageBase %}
2024-08-11 15:15:07 +02:00
{% set pageId = page.fileSlug %}
2019-03-30 16:52:20 +01:00
{% set pageClass = "h_full_view" %}
2024-08-11 12:05:18 +02:00
{% extends "demo/_default.njk" %}
2019-03-30 16:52:20 +01:00
{% block title %}Index{% endblock %}
{% block head %}
2021-03-08 15:58:07 +01:00
{{ super() }}
2019-03-30 16:52:20 +01:00
{% endblock %}
{% block body %}
2024-08-11 15:15:07 +02:00
<!-- {{ page.fileSlug }}.page -->
2021-03-08 15:58:07 +01:00
<div class="wrap">
<div class="hello">
<h2>This is
{{ hippie.brand | upper }}</h2>
<p>You can start using it by replacing this file with your own index page.</p>
<p>To do this you need to create a file
<code>/index.njk</code>
inside the
<i>source/screens</i>
folder. You can also create a
<code>data.json</code>
file inside the
<i>source/templates</i>
folder as a data source for your nunjucks files.</p>
<p>For a very basic start you can make a copy of the demo page
<code>blank.njk</code>. You can find it at
<i>/source/screens/demo</i>.</p>
<p>The
<i>source/demo</i>
folder contains an overview of all HTML elements and also examples for CSS style combinations and even whole page layouts.<br/>Follow the white rabbit.</p>
<div class="pos_rel">
<pre class="txt_tiny txt_white pos_abs pin_down pin_right"> ()()<br> (..)<br>c(")(")</pre>
<h3>Overview</h3>
</div>
<nav>
<ul class="list_link">
2024-08-11 15:34:55 +02:00
{% for link in collections.demoIndex %}
2021-03-08 15:58:07 +01:00
<li>
2024-08-11 15:15:07 +02:00
<a href="{{ link.page.url }}">{{ link.data.title }}</a>
2021-03-08 15:58:07 +01:00
</li>
{% endfor %}
</ul>
</nav>
2024-08-11 15:15:07 +02:00
<h3>Page</h3>
2021-03-08 15:58:07 +01:00
<ul class="list_link">
2024-08-11 15:34:55 +02:00
{% for link in collections.demoPage | sort(false, false, 'data.title') %}
2021-03-08 15:58:07 +01:00
<li>
2024-08-11 15:15:07 +02:00
<a href="{{ link.page.url }}">{{ link.data.title }}</a>
2021-03-08 15:58:07 +01:00
</li>
{% endfor %}
</ul>
2024-08-11 15:15:07 +02:00
<h3>Example</h3>
2024-08-08 20:42:28 +02:00
<ul class="list_link">
2024-08-11 15:34:55 +02:00
{% for link in collections.demoExample %}
2024-08-08 20:42:28 +02:00
<li>
2024-08-11 15:15:07 +02:00
<a href="{{ link.page.url }}">{{ link.data.title }}</a>
2024-08-08 20:42:28 +02:00
</li>
{% endfor %}
</ul>
2021-03-08 15:58:07 +01:00
</div>
</div>
2019-03-30 16:52:20 +01:00
{% endblock %}
{% block script %}
2021-03-08 15:58:07 +01:00
{{ super() }}
2021-03-09 22:54:56 +01:00
{# <script src="{{ pageBase }}js/{{ hippie.jsFile }}.min.js"></script> #}
2021-03-09 13:33:39 +01:00
<!-- build:js js/main.concat.min.js -->
2021-03-09 22:54:56 +01:00
<script src="{{ pageBase }}js/variables.js"></script>
<script src="{{ pageBase }}js/functions.js"></script>
<script src="{{ pageBase }}js/global.js"></script>
2021-03-08 15:58:07 +01:00
<script>
assetsLoaded = true;
logPerf('BODY :: Assets loaded, running page specific script...');
2024-08-10 15:25:41 +02:00
// Page specific
// ------------------------------------------------------------------------------
2021-03-08 15:58:07 +01:00
$(document).ready(function () {
logPerf('EVENT :: jQuery \'ready\' event fired.');
2021-03-09 13:33:39 +01:00
setup();
2021-03-08 15:58:07 +01:00
});
2024-08-10 15:25:41 +02:00
logPerf('Application ready... not.');
2021-03-08 15:58:07 +01:00
</script>
{% endblock %}