The package now only relies on Metalsmith and some validation and transformation tools (stylelint, sass...). Babel, Postcss, Webpack were dropped. The site now uses mini.css. There is no more need of Javascript to render the pages. (Though it will be re-introduced for some features, like the calendar view to come.) node-sass is used to compile a special flavor.
11 lines
160 B
Text
11 lines
160 B
Text
{% extends "base.njk" %}
|
|
|
|
{% block header %}
|
|
<h1>{{ title }}</h1>
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
<section>
|
|
{{ contents | safe }}
|
|
</section>
|
|
{% endblock %}
|