gulp tasks and nunjucks templating
- reworked nearly all gulp tasks - added html templating with nunjucks - replaced some old html files - started correction of scss and js files according to lint results
This commit is contained in:
parent
6e4b8cf94b
commit
b8733af03c
37 changed files with 3911 additions and 200 deletions
32
source/pages/index.nunjucks
Normal file
32
source/pages/index.nunjucks
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<!-- index.nunjucks -->
|
||||
{% set pageId = "index" %}
|
||||
|
||||
{% extends "index.nunjucks" %}
|
||||
|
||||
{% block title %}index{% endblock %}
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block body_content %}
|
||||
{% include "partials/page-hover.nunjucks" %}
|
||||
<div class="wrap">
|
||||
<ul class="list__link hello">
|
||||
<li><a href="demo-index.html">Index</a></li>
|
||||
<li><a href="demo-blank.html">Blank</a></li>
|
||||
<li><a href="demo-explorer.html">Explorer</a></li>
|
||||
<li><a href="demo-presentation.html">Presentation</a></li>
|
||||
<li><a href="404.html">404</a></li>
|
||||
</ul>
|
||||
</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