initial version

This commit is contained in:
2021-10-11 18:14:52 +01:00
commit cd3431b169
8 changed files with 146 additions and 0 deletions

5
templates/head.nj Normal file
View File

@ -0,0 +1,5 @@
<head>
<link rel='stylesheet' href='css/milligram.min.css' />
<link rel='stylesheet' href='css/style.css' />
</head>

31
templates/index.nj Normal file
View File

@ -0,0 +1,31 @@
{% include './head.nj' %}
<body class='container'>
<header class='row'>
{% for section in sections %}
<a class='column' href='#{{ section.title | anchor }}'>{{ section.title }}</a>
{% endfor %}
</header>
<div class='row'>
<div class='column'>
<h1>{{ title }}</h1>
</div>
</div>
<div class='vertical-space'></div>
{% for section in sections %}
<div class='row'>
<div class='column'>
<h2 id='{{ section.title | anchor }}'>{{ section.title }}</h2>
</div>
</div>
<div class='row'>
<div class='column'>
<p>{{ section.content }}</p>
</div class='column'>
</div>
{% endfor %}
</body>