diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2019-11-24 17:18:36 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2019-11-24 17:43:52 +0100 |
| commit | 1f74c443405b2827217275bbdc428bd9320bb99a (patch) | |
| tree | d97b3c35280ab24fdffd9b099fca0f318239986b /layouts/_default/list.html | |
| parent | f752530692e7a3db2d75bc2c77b80839da64d5f3 (diff) | |
| download | blog-1f74c443405b2827217275bbdc428bd9320bb99a.tar.gz blog-1f74c443405b2827217275bbdc428bd9320bb99a.zip | |
Rework index page layout to include projects
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0cf0d1f..a33b3af 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,16 +1,20 @@ {{ partial "header.html" . }} - <main role="main"> - <h1 class="list-title">{{ .Title }}</h1> -{{ range .Data.Pages }} - <article itemscope itemtype="http://schema.org/Blog"> - <h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2> - <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time></span> - <div> - {{ .Summary }} - </div> - </article> -{{ end }} - </main> + <main role="main"> + <h1 class="list-title">{{ .Title }}</h1> + {{ range .Data.Pages }} + <article itemscope itemtype="http://schema.org/Blog"> + <h2 class="entry-title" itemprop="headline"> + <a href="{{ .RelPermalink }}">{{ .Title }}</a> + </h2> + <span class="entry-meta"> + <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</time> + </span> + <div> + {{ .Summary }} + </div> + </article> + {{ end }} + </main> {{ partial "footer.html" . }} |
