homepage
This commit is contained in:
parent
d6006a0227
commit
70671e5a43
17 changed files with 519 additions and 14 deletions
19
templates/archive.html
Normal file
19
templates/archive.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{% extends "index.html" %}
|
||||
|
||||
{%- block title -%}
|
||||
{{ title_macros::title(page_title=page.title, main_title=config.title) }}
|
||||
{%- endblock -%}
|
||||
|
||||
{% block extra_head %}
|
||||
<link rel="stylesheet" href="{{ get_url(path="css/custom.css") }}">
|
||||
{% endblock extra_head %}
|
||||
|
||||
{% block content %}
|
||||
<div class="post">
|
||||
<h1 class="post-title">{{ page.title }}</h1>
|
||||
|
||||
{% set blog_section = get_section(path="blog/_index.md") %}
|
||||
|
||||
{{ post_macros::list_posts(pages=blog_section.pages) }}
|
||||
</div>
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue