feat: create index and about pages
This commit is contained in:
parent
cc39ed4c4e
commit
0c71f81c78
8 changed files with 61 additions and 21 deletions
|
|
@ -1,8 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
This is my blog made with Zola.
|
||||
</h1>
|
||||
<p><a href="{{ get_url(path='@/articles/_index.md') }}">Posts</a>.</p>
|
||||
<section class="intro">
|
||||
{{ section.content | safe }}
|
||||
</section>
|
||||
<section class="last-articles">
|
||||
<h1>Derniers articles</h1>
|
||||
{%- set section = get_section(path="articles/_index.md") -%}
|
||||
{%- set max_articles = 3 -%}
|
||||
{%- include "partials/articles.html" -%}
|
||||
</section>
|
||||
{% endblock content %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue