From ece5e51652a446d7e3d67e7238dd44f22b9920e0 Mon Sep 17 00:00:00 2001 From: Ewen Date: Tue, 19 Dec 2023 09:55:32 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20ouzhpennet=20ar=20podkasto=C3=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/header.html | 4 +- layouts/partials/nav.html | 67 ------------------- layouts/podcast-episode/list.html | 60 ----------------- layouts/{podcast-home => podcasts}/list.html | 7 +- .../{podcast-episode => podcasts}/single.html | 0 5 files changed, 5 insertions(+), 133 deletions(-) delete mode 100644 layouts/partials/nav.html delete mode 100644 layouts/podcast-episode/list.html rename layouts/{podcast-home => podcasts}/list.html (90%) rename layouts/{podcast-episode => podcasts}/single.html (100%) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e15de8a..9792d82 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -60,14 +60,14 @@ data-toggle="collapse" data-target="#lang-dropdown" aria-expanded="false" aria-controls="lang-dropdown">
  • - + {{- .Lang -}}
  • diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html deleted file mode 100644 index 8301d7e..0000000 --- a/layouts/partials/nav.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - diff --git a/layouts/podcast-episode/list.html b/layouts/podcast-episode/list.html deleted file mode 100644 index 0a0cdd1..0000000 --- a/layouts/podcast-episode/list.html +++ /dev/null @@ -1,60 +0,0 @@ -{{ define "main" }} -
    -
    -
    -
    - - - {{- $pctx := . -}} - {{- $pages := .Site.RegularPages -}} - {{ $paginator := .Paginate (where $pages "Type" "podcasts") }} - {{ range sort .Paginator.Pages }} - -
    -
    - - {{ if .Params.Image }} - {{ $article := .Permalink | relURL }} - {{ $image := .Params.Image | relURL }} -
    - {{ .Title | markdownify }} -
    -
    - {{ else }} -
    - {{ end }} - -
    - {{ range .Params.Categories }} - {{ . | title | humanize }} - {{ end }} - {{ .Title | markdownify }} - -

    {{ .Summary }}

    - - -
    -
    -
    -
    - {{ end }} -
    - - - {{ partial "sidebar.html" . }} - - -
    - {{ template "_internal/pagination.html" . }} -
    -
    -
    -
    -{{ end }} diff --git a/layouts/podcast-home/list.html b/layouts/podcasts/list.html similarity index 90% rename from layouts/podcast-home/list.html rename to layouts/podcasts/list.html index ecfb931..f8d1771 100644 --- a/layouts/podcast-home/list.html +++ b/layouts/podcasts/list.html @@ -4,10 +4,9 @@
    - {{- $pctx := . -}} - {{- $pages := .Site.Pages -}} - {{ $paginator := .Paginate (where $pages "Type" "podcast") }} - {{ range sort .Paginator.Pages }} + {{ .Content }} + + {{ range sort .Pages }}
    diff --git a/layouts/podcast-episode/single.html b/layouts/podcasts/single.html similarity index 100% rename from layouts/podcast-episode/single.html rename to layouts/podcasts/single.html