diff options
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/list.html | 2 | ||||
| -rw-r--r-- | layouts/_default/summary.html | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 38ef025..c265f91 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <article style="width:70ch;"> | 2 | <article> |
| 3 | <h1>{{ .Title }}</h1> | 3 | <h1>{{ .Title }}</h1> |
| 4 | {{ if .Content }} | 4 | {{ if .Content }} |
| 5 | <p>{{ .Content }}</p> | 5 | <p>{{ .Content }}</p> |
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 0753995..5e4ac4b 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html | |||
| @@ -4,6 +4,9 @@ | |||
| 4 | <a href="{{ .RelPermalink }}" class="link black dim"> | 4 | <a href="{{ .RelPermalink }}" class="link black dim"> |
| 5 | {{ .Title }} | 5 | {{ .Title }} |
| 6 | </a> | 6 | </a> |
| 7 | {{ if isset .Params "rating" }} | ||
| 8 | {{ .Params.rating }} | ||
| 9 | {{ end }} | ||
| 7 | </h1> | 10 | </h1> |
| 8 | <p> | 11 | <p> |
| 9 | {{ .Date | time.Format ":date_full" }} | 12 | {{ .Date | time.Format ":date_full" }} |
