From bd81455f0e42dfa6cd8f9ef650a4e12b2579d4af Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Mon, 20 Jun 2022 20:56:31 +0200 Subject: [PATCH] fix termine --- layouts/index.html | 17 +++++++---------- layouts/termine/list.html | 15 +++++++-------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index ca5346bf..4414e782 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -150,20 +150,17 @@
+ {{ with .Site.GetPage "/termine/_index.md" }} {{ range first 3 .Params.events }} -
  • -
    -
    {{ time.Format "2" .date}} {{ time.Format "Jan 2006" .date}}
    -
    -
    -

    {{ .title }}

    -

    {{ .summary | truncate 100 }}

    -
    -

    {{ .location | markdownify }}

    -
    +
  • +
    {{ time.Format "2" .date}} {{ time.Format "Jan, 2006" .date}}
    +
    +

    {{ .title }}

    +

    {{ .summary | truncate 100 }}

    +

    {{ .location | markdownify }}

  • {{ end }} diff --git a/layouts/termine/list.html b/layouts/termine/list.html index e44a86d4..45192628 100644 --- a/layouts/termine/list.html +++ b/layouts/termine/list.html @@ -6,14 +6,13 @@
      {{ range .Params.events }} -
    • - -
      {{ time.Format "2" .date}} {{ time.Format "Jan 2006" .date}}
      -
      -

      {{ .title }}

      -

      {{ .summary | truncate 100 }}

      -
      -

      {{ .location | markdownify }}

      +
    • +
      {{ time.Format "2" .date}} {{ time.Format "Jan, 2006" .date}}
      +
      +

      {{ .title }}

      +

      {{ .summary | truncate 100 }}

      +
      +

      {{ .location | markdownify }}

    • {{ end }}