diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-05-26 17:34:17 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-05-26 17:34:17 +0200 |
| commit | 9b5b232284141fd02e4c8c6b049d0ec4b3d6083c (patch) | |
| tree | 4cd6225d6cd6202d7c4070e30a765c9e07ff5330 /layouts/_default/list.html | |
| parent | 4556a4ec7753a8cf85e0568e245dc3e7328bc708 (diff) | |
| download | blog-9b5b232284141fd02e4c8c6b049d0ec4b3d6083c.tar.gz blog-9b5b232284141fd02e4c8c6b049d0ec4b3d6083c.zip | |
change date format and page titles
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b7cef4a..90cf0ae 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -4,8 +4,8 @@ <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 }}{{ if .Draft }} #Draft{{ end }}</a></h2> - <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span> + <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> </article> {{ end }} </main> |
