diff options
Diffstat (limited to 'layouts/posts')
| -rw-r--r-- | layouts/posts/page.html | 7 | ||||
| -rw-r--r-- | layouts/posts/section.html | 12 |
2 files changed, 0 insertions, 19 deletions
diff --git a/layouts/posts/page.html b/layouts/posts/page.html deleted file mode 100644 index dd21496..0000000 --- a/layouts/posts/page.html +++ /dev/null @@ -1,7 +0,0 @@ -{{ define "main" }} - <h1>{{ .Title }}</h1> - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format "2006-01-02" }} - <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> - {{ .Content }} -{{ end }} diff --git a/layouts/posts/section.html b/layouts/posts/section.html deleted file mode 100644 index eedc63e..0000000 --- a/layouts/posts/section.html +++ /dev/null @@ -1,12 +0,0 @@ -{{ define "main" }} - <h1>{{ .Title }}</h1> - {{ .Content }} - <ul> - {{ range .Pages }} - <li> - <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> - <p>{{ .Date | time.Format "2006-01-02" }}</p>{{ .Summary }} - </li> - {{ end }} - </ul> -{{ end }} |
