diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 460caf3..24ee8d6 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -41,10 +41,13 @@ {{ range first 20 (where .Site.RegularPages "Section" $section) }}
  • {{ .Title }} - {{ if .Date -}} -   {{ .Date.Format (i18n "dateFormat") }} - {{- end }} + class="text-decoration-none">{{ .Title }}   + {{ if .Date -}} + {{ .Date.Format (i18n "dateFormat") }} + {{- else if .Params.Teaser -}}{{ .Params.Teaser }} + {{- else -}}{{ .Summary }} + {{- end }} +
  • {{ end }}