initial testing with Zensical
This commit is a test run, currently I would stick with MM proper until Zensical is more mature. Hopefully in about half a year. Missing features: - blog for news articles (using template at the moment, not ideal)
This commit is contained in:
24
overrides/news.html
Normal file
24
overrides/news.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{# this document is based on the offical template as given in
|
||||
https://github.com/zensical/ui/blob/master/src/base.html. #}
|
||||
|
||||
{% block container %}
|
||||
<div class="md-content" data-md-component="content">
|
||||
|
||||
<!-- Navigation path (breadcrumbs) -->
|
||||
{% if "navigation.path" in features %}
|
||||
{% include "partials/path.html" %}
|
||||
{% endif %}
|
||||
|
||||
<!-- Page content -->
|
||||
<article class="md-content__inner md-typeset">
|
||||
{% if page.meta and page.meta.date %}
|
||||
<div class="md-post__meta md-meta">{{ page.meta.date }}</div>
|
||||
{% endif %}
|
||||
{% block content %}
|
||||
{% include "partials/content.html" %}
|
||||
{% endblock %}
|
||||
</article>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user