2018-08-31 18:52:21 +02:00
<!-- page-index.njk -->
2017-10-02 00:02:06 +02:00
{% set pageId = "index" %}
2018-04-30 19:09:17 +02:00
{% set pageClass = "height_full" %}
2017-10-02 00:02:06 +02:00
2019-03-21 20:22:22 +01:00
{% extends "demo/_default.njk" %}
2017-10-02 00:02:06 +02:00
2018-10-10 22:41:15 +02:00
{% block title %}Index{% endblock %}
2017-10-02 00:02:06 +02:00
{% block head %}
{{ super() }}
{% endblock %}
2019-03-21 20:22:22 +01:00
{% block body %}
2017-10-02 00:02:06 +02:00
<div class="wrap">
2018-04-30 20:20:13 +02:00
<div class="hello">
2019-03-16 13:21:57 +01:00
<h2>This is {{hippie.brand | upper}}</h2>
2018-05-08 23:00:46 +02:00
<p>You can start using it by replacing this file with your own index page.</p>
2018-10-01 21:10:58 +02:00
<p>To do this you need to open the file <code>/gulpfile.js</code> and comment out the line <code>index: "demo.html",</code>. Then you need to place your index file (<code>index.njk</code>) into the folder <code>/source/pages</code>.</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 <code>/source/pages/demo</code>.</p>
2018-10-07 16:58:07 +02:00
<p>The <i>demo</i> folder contains an overview of all elements and also examples for style combinations and even whole page layouts.<br/>Follow the white rabbit.</p>
<h3>Overview</h3>
2019-03-21 20:22:22 +01:00
<nav>
<ul class="list_link">
<!-- Loops through "demoadditionallinks" array -->
{% for link in data.demoadditionallinks %}
<li><a href="{{link.href}}">{{link.text}}</a></li>
{% endfor %}
</ul>
</nav>
2018-08-31 18:52:21 +02:00
<div class="pos_rel">
2019-03-21 20:22:22 +01:00
<pre class="txt_tiny txt_white pos_abs pin_down pin_right"> ()()<br> (..)<br>C(")(")</pre>
2018-08-31 18:52:21 +02:00
<h3>Demo Pages</h3>
2019-03-21 20:22:22 +01:00
</div>
2018-10-01 21:10:58 +02:00
<ul class="list_link">
2018-08-31 18:52:21 +02:00
<!-- Loops through "demo-links" array -->
2019-03-16 13:21:57 +01:00
{% for link in data.demolinks %}
2018-05-08 23:00:46 +02:00
<li><a href="{{link.href}}">{{link.text}}</a></li>
{% endfor %}
2018-04-30 20:20:13 +02:00
</ul>
</div>
2017-10-02 00:02:06 +02:00
</div>
{% endblock %}
{% block script %}
2018-08-31 18:52:21 +02:00
{{ super() }}
2019-03-16 13:21:57 +01:00
<script src="./js/{{hippie.jsFile}}.min.js" type="text/javascript"></script>
2017-10-02 00:02:06 +02:00
<script type="text/javascript">
// Page specific
// ------------------------------------------------------------------------------
$( document ).ready(function() {
});
</script>
{% endblock %}