Skip to content

Commit 3fb2ec4

Browse files
Updated list template and provided simple introduction
1 parent 0e2981f commit 3fb2ec4

File tree

2 files changed

+22
-7
lines changed

2 files changed

+22
-7
lines changed

content/blog/_index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Blog
3+
---
4+
5+
This is a list of blog posts, authored by lab members. The views
6+
expressed in these posts are solely our own and do *not* reflect
7+
the views of our respective institutions, employers, or founders.

themes/brevis/layouts/blog/list.html

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
{{- define "main" }}
2-
<ul>
3-
{{- range .Pages }}
4-
<li>
5-
<time>{{ .Date.Format "2006-01-02" }}</time>: <a href="{{ .RelPermalink }}">{{ .Title | safeHTML }}</a>
6-
</li>
7-
{{- end }}
8-
</ul>
2+
<h1>{{ .Title }}</h1>
3+
4+
<div>
5+
{{- .Content }}
6+
</div>
7+
8+
<div>
9+
<ul>
10+
{{- range .Pages }}
11+
<li>
12+
<time>{{ .Date.Format "2006-01-02" }}</time>: <a href="{{ .RelPermalink }}">{{ .Title | safeHTML }}</a>
13+
</li>
14+
{{- end }}
15+
</ul>
16+
</div>
917
{{- end }}

0 commit comments

Comments
 (0)