kcl-digital-humanities-garden/_layouts/home.html

29 lines
649 B
HTML
Raw Normal View History

2021-03-07 22:59:37 +00:00
---
layout: default
---
2021-03-09 14:40:24 +00:00
2021-03-09 14:44:44 +00:00
<ul>
2021-03-19 01:15:51 +00:00
{% for note in site.notes %}
2021-03-09 14:44:44 +00:00
<li>
2021-03-19 01:15:51 +00:00
<a href="{{ note.url }}">{{ note.title }}</a>
2021-03-09 14:44:44 +00:00
</li>
{% endfor %}
</ul>
<section>
2021-03-19 01:15:51 +00:00
{% for note in site.notes %}
2021-03-09 14:44:44 +00:00
<div class="post_excerpt">
<article>
<h2 itemprop="headline">
2021-03-19 01:15:51 +00:00
<a href="{{ post.url | relative_url }}" rel="permalink">{{ note.title }}</a>
2021-03-09 14:44:44 +00:00
</h2>
2021-03-19 01:16:27 +00:00
<p class="excerpt" itemprop="description"><em>{% if note.excerpt %}
2021-03-19 01:15:51 +00:00
{{ note.excerpt | markdownify | strip_html }}
2021-03-09 14:44:44 +00:00
{% else %}
2021-03-19 01:15:51 +00:00
{{ note.content | markdownify | strip_html | truncate: 160 }}
2021-03-09 14:44:44 +00:00
{% endif %}</em></p>
</article>
</div>
{% endfor %}
</section>