initial version
This commit is contained in:
5
templates/head.nj
Normal file
5
templates/head.nj
Normal 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
31
templates/index.nj
Normal 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>
|
Reference in New Issue
Block a user