oijoij
This commit is contained in:
14
templates/index.html
Normal file
14
templates/index.html
Normal file
@ -0,0 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% set blog_section = get_section(path="blog/_index.md") %}
|
||||
<ul>
|
||||
{% for post in blog_section.pages | slice(end=3) %}
|
||||
<li><a href="{{ post.permalink | safe }}">{{ post.title }}</a> - {{ post.date | date(format="%B %-d, %Y") }}</li>
|
||||
<div class="typography">{{ post.summary | safe }}</div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user