diff --git a/content/news.md b/content/news.md index 7f58746..f17b2b9 100644 --- a/content/news.md +++ b/content/news.md @@ -3,4 +3,4 @@ title: Codemeta News layout: single --- -{{< news >}} +{{% news %}} diff --git a/layouts/shortcodes/news.md b/layouts/shortcodes/news.md index f9f6e82..490e558 100644 --- a/layouts/shortcodes/news.md +++ b/layouts/shortcodes/news.md @@ -18,13 +18,13 @@ {{ $combi := sort $combi ".pubDate" "desc" }} - {{ range $combi }} -
  • -

    {{ .title }}

    - {{ .pubDate | time.Format "Jan 02, 2006 3:04 PM MST" }} -
    {{ .description }}
    -
  • - {{ end }} +{{ range $combi }} +
  • +

    {{ .title }}

    + {{ .pubDate | time.Format "Jan 02, 2006 3:04 PM MST" }} +
    {{ .description }}
    +
  • +{{ end }}