diff options
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" . }} |
