demo.3
* moved templates to demo structure * new sass version * restructure of some styles for demo
This commit is contained in:
parent
4708896f79
commit
a810ec2770
15 changed files with 187 additions and 54 deletions
|
|
@ -1,49 +0,0 @@
|
|||
<!-- index.njk -->
|
||||
{% set pageId = "index" %}
|
||||
{% set pageClass = "height_full" %}
|
||||
|
||||
{% extends "default.njk" %}
|
||||
|
||||
{% block title %}index{% endblock %}
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block body_content %}
|
||||
<div class="wrap">
|
||||
<div class="hello">
|
||||
<h2>This is HIPPIE</h2>
|
||||
<p>You can start using it by replacing this file with your own index page.</p>
|
||||
<p>The folder <i>demo</i> contains examples and also an overview of definitions made.<br/>Follow the white rabbit.</p>
|
||||
|
||||
<h3>Demo Pages</h3>
|
||||
<ul class="list__link">
|
||||
<!-- Loops through "demo-links" array -->
|
||||
{% for link in demolinks %}
|
||||
<li><a href="{{link.href}}">{{link.text}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<pre class="txt-tiny txt_white">
|
||||
()()
|
||||
(..)
|
||||
C(")(")</pre>
|
||||
<h3>Overview about all the styles</h3>
|
||||
<ul class="list__link">
|
||||
<!-- Loops through "links" array -->
|
||||
{% for link in links %}
|
||||
<li><a href="{{link.href}}">{{link.text}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
<script type="text/javascript">
|
||||
// Page specific
|
||||
// ------------------------------------------------------------------------------
|
||||
$( document ).ready(function() {
|
||||
console.log('HIPPIE');
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue