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
2018-08-31 18:52:21 +02:00
{% extends "hippie/demo-default.njk" %}
2017-10-02 00:02:06 +02:00
{% block title %}index{% endblock %}
{% block head %}
{{ super() }}
2018-08-31 18:52:21 +02:00
<link rel="stylesheet" type="text/css" media="all" href="css/demo.css"/>
<!-- <link rel="stylesheet" type="text/css" media="print" href="./css/print.css"/> -->
2017-10-02 00:02:06 +02:00
{% endblock %}
{% block body_content %}
<div class="wrap">
2018-04-30 20:20:13 +02:00
<div class="hello">
2018-05-08 23:00:46 +02:00
<h2>This is HIPPIE</h2>
<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>
2018-10-01 21:10:58 +02:00
<ul class="list_link">
2018-08-31 18:52:21 +02:00
<!-- Loops through "demoadditionallinks" array -->
{% for link in demoadditionallinks %}
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>
2018-08-31 18:52:21 +02:00
<div class="pos_rel">
<pre class="txt_tiny txt_white pos_abs pin_down pin_right">
2018-05-08 23:00:46 +02:00
()()
(..)
C(")(")</pre>
2018-08-31 18:52:21 +02:00
<h3>Demo Pages</h3>
</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 -->
{% for link in 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() }}
<script src="./js/all.min.js" type="text/javascript"></script>
2017-10-02 00:02:06 +02:00
<script type="text/javascript">
// Page specific
// ------------------------------------------------------------------------------
$( document ).ready(function() {
2018-04-30 19:09:17 +02:00
console.log('HIPPIE');
2017-10-02 00:02:06 +02:00
});
</script>
{% endblock %}