diff options
Diffstat (limited to 'layouts/list.html')
| -rw-r--r-- | layouts/list.html | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/layouts/list.html b/layouts/list.html deleted file mode 100644 index cc6c7be..0000000 --- a/layouts/list.html +++ /dev/null @@ -1,21 +0,0 @@ -{{ define "main" }} - <h1>{{ .Title }}</h1> - <table> - <thead> - <tr> - <th>Date</th> - <th>Title</th> - </tr> - </thead> - <tbody> - {{ range .Pages }} - {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}} - {{- $dateHuman := .Date | time.Format "2006-01-02" -}} - <tr> - <td><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></td> - <td><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td> - </tr> - {{ end }} - </tbody> - </table> -{{ end }} |