improve blog
This commit is contained in:
@@ -1,11 +1,31 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
|
||||
{{ __tera_context }}
|
||||
|
||||
<h1 class="title is-1">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
||||
<div class="content">
|
||||
{{ page.content | safe }}
|
||||
</div>
|
||||
|
||||
<aside class="container level my-5">
|
||||
<div class="level-left">
|
||||
{% if page.higher %}
|
||||
<div class="level-item">
|
||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ page.higher.permalink }}">{{ page.higher.title }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="level-right">
|
||||
{% if page.lower %}
|
||||
<div class="level-item">
|
||||
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ page.lower.permalink }}">{{ page.lower.title }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</aside>
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user