feat: Replace nunjucks with liquid for introduction screen
This commit is contained in:
parent
f28bed372c
commit
6c5bf2e54d
2 changed files with 40 additions and 47 deletions
40
source/screens/demo/introduction.liquid
Normal file
40
source/screens/demo/introduction.liquid
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
title: Introduction
|
||||
tags:
|
||||
- demoIndex
|
||||
---
|
||||
{% layout "hippie/page.liquid" %}
|
||||
|
||||
{% block title %}Einführung{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<section class="sec_main_center">
|
||||
<header>
|
||||
<hgroup>
|
||||
<h1>Introduction to HIPPIE</h1>
|
||||
<p>Hippie interweaves preeminent personal interface elements.</p>
|
||||
</hgroup>
|
||||
</header>
|
||||
<article>
|
||||
<p>…</p>
|
||||
<p>Contact: <a id="special" href=""></a>
|
||||
</p>
|
||||
<p>More: <a class="general" href=""></a>, <a class="general" href=""></a>
|
||||
</p>
|
||||
</article>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
{{ block.super -}}
|
||||
<script>
|
||||
assetsLoaded = true;
|
||||
logPerf('Assets loaded.', assetsLoaded);
|
||||
// Page specific
|
||||
// ------------------------------------------------------------------------------
|
||||
composeMail('special', 'me', 'domain', 'tld', 'Me', 'HIPPIE')
|
||||
composeMail('.general', 'name', 'domain', 'tld', '', '')
|
||||
|
||||
logPerf('Application ready... not.');
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
title: Introduction
|
||||
tags:
|
||||
- demoIndex
|
||||
---
|
||||
{% set pageBase = "../" %}
|
||||
{% set pageId = "intro" %}
|
||||
|
||||
{% extends "demo/_main.njk" %}
|
||||
|
||||
{% block title %}Einführung{% endblock %}
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<!-- {{ page.fileSlug }}.page -->
|
||||
<section class="sec_main_center">
|
||||
<header>
|
||||
<hgroup>
|
||||
<h1>Introduction to HIPPIE</h1>
|
||||
<p>Hippie interweaves preeminent personal interface elements.</p>
|
||||
</hgroup>
|
||||
</header>
|
||||
<article>
|
||||
<p>…</p>
|
||||
<p>Contact: <a id="special" href=""></a>
|
||||
</p>
|
||||
<p>More: <a class="general" href=""></a>, <a class="general" href=""></a>
|
||||
</p>
|
||||
</article>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
||||
{% block script %}
|
||||
{{ super() }}
|
||||
<script>
|
||||
assetsLoaded = true;
|
||||
logPerf('Assets loaded.', assetsLoaded);
|
||||
// Page specific
|
||||
// ------------------------------------------------------------------------------
|
||||
composeMail('special', 'me', 'domain', 'tld', 'Me', 'HIPPIE')
|
||||
composeMail('.general', 'name', 'domain', 'tld', '', '')
|
||||
|
||||
logPerf('Application ready... not.');
|
||||
</script>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue