diff --git a/layouts/blog/li_grid_with_date.html b/layouts/blog/li_grid_with_date.html index 245f559..ed687de 100644 --- a/layouts/blog/li_grid_with_date.html +++ b/layouts/blog/li_grid_with_date.html @@ -1,11 +1,14 @@ -
  • - - - {{ .Title }} -
    - {{ with index (.GetTerms "categories") 0 }} - {{ .LinkTitle }} - {{ end }} -
    +
  • + +

    {{ .Title }}

    + {{ if .Description }} +

    {{ .Description }}

    + {{ else if lt .WordCount 110 }} +
    {{ .Content }}
    + {{ else }} + {{ warnf "Post \"%s\" doesn't have a description or content suitable for the blog list" .Title }} +

    {{ .WordCount }} words

    + {{ end }} + {{ partial "footer_tags.html" . }} {{ partial "development/draft_tag.html" . }}
  • diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 070b633..a7af6da 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -4,14 +4,14 @@ {{ define "main" }} {{- range .Pages.ByDate.GroupByDate "2006" -}} -
    {{ .Key | title }}
    - {{- end -}} {{ end }}