diff options
Diffstat (limited to 'layouts/_default/uncategorized.html')
| -rw-r--r-- | layouts/_default/uncategorized.html | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/layouts/_default/uncategorized.html b/layouts/_default/uncategorized.html index 1f777025..afec928a 100644 --- a/layouts/_default/uncategorized.html +++ b/layouts/_default/uncategorized.html @@ -2,19 +2,28 @@ <article class="posts termlist-page"> {{ partial "components/post-page-header.html" . }} {{ partial "components/breadcrumbs.html" . }} - <div class="post-content"> - <!-- Uncategorized --> - {{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }} - {{ if $uncategorized }} - <section class="uncategorized-posts"> - <ol> - {{ range $uncategorized }} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{ end }} - </ol> - </section> - {{ end }} + <div class="post-content markdown-body"> + <p>{{ .Content }}</p> </div> + <!-- Uncategorized --> + {{ $uncategorized := where (where .Site.RegularPages "Section" "posts") "Params.categories" "==" nil }} + {{ if $uncategorized }} + <section class="uncategorized-posts term-list"> + <ol class="term-list-posts"> + {{ range $uncategorized }} + <li> + <a href="{{ .RelPermalink }}" data-umami-event="Click Post Link from Uncategorized"> + {{ .Title }}{{ with .Params.subtitle }}:<span class="posts-subtitle">{{. }}</span> + {{ end }} + </a> + <time> + {{ .Date.Format "2006-1-2" }} + </time> + </li> + {{ end }} + </ol> + </section> + {{ end }} </article> {{ partial "footer.html" . }} {{ end }} |
