-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (30 loc) · 1.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
# Feel free to add content and custom Front Matter to this file.
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
layout: default
title: Your Awesome Title
page_name: home
---
<div class="home-page page-margin">
<div class="container">
{%- if site.posts.size > 0 -%}
<h2 class="post-list-heading">{{ page.list_title | default: "Notes" }}</h2>
<ul class="post-list list-unstyled p-0">
{%- for post in site.posts -%}
<li class="mb-4">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
<span class="post-meta mb-3">{{ post.date | date: date_format }}</span>
<h3 class="mt-2">
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h3>
{%- if site.show_excerpts -%}
{{ post.excerpt }}
{%- endif -%}
</li>
{%- endfor -%}
</ul>
{%- endif -%}
</div>
</div>