From f7a556559b17c6267ff898f68cae02a49bf87da6 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 5 Jan 2022 21:01:12 +0000 Subject: site works with no css --- themes/problematic/layouts/_default/li.html | 6 ++++++ themes/problematic/layouts/_default/list.html | 5 +---- themes/problematic/layouts/partials/head.html | 13 +++++++++++++ themes/problematic/layouts/partials/header.html | 12 ++++++++++++ themes/problematic/layouts/partials/posts.html | 6 ++++++ 5 files changed, 38 insertions(+), 4 deletions(-) create mode 100644 themes/problematic/layouts/_default/li.html create mode 100644 themes/problematic/layouts/partials/posts.html (limited to 'themes') diff --git a/themes/problematic/layouts/_default/li.html b/themes/problematic/layouts/_default/li.html new file mode 100644 index 0000000..2a7f3d9 --- /dev/null +++ b/themes/problematic/layouts/_default/li.html @@ -0,0 +1,6 @@ +
  • + + : + {{ .Title }} + +
  • diff --git a/themes/problematic/layouts/_default/list.html b/themes/problematic/layouts/_default/list.html index 61cf6dc..97af0e3 100644 --- a/themes/problematic/layouts/_default/list.html +++ b/themes/problematic/layouts/_default/list.html @@ -1,6 +1,3 @@ {{ define "main" }} -

    {{ .Title }}

    - {{ range .Pages.ByPublishDate.Reverse }} -

    {{ .Title }}

    - {{ end }} +{{- partial "posts.html" . -}} {{ end }} diff --git a/themes/problematic/layouts/partials/head.html b/themes/problematic/layouts/partials/head.html index e69de29..12477e4 100644 --- a/themes/problematic/layouts/partials/head.html +++ b/themes/problematic/layouts/partials/head.html @@ -0,0 +1,13 @@ + + + + {{ with .Site.Params.description -}} + + {{ end }} + {{ printf `` ("favicon.ico" | absURL) | safeHTML }} + {{ with .OutputFormats.Get "rss" -}} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{ .Title }} + diff --git a/themes/problematic/layouts/partials/header.html b/themes/problematic/layouts/partials/header.html index e69de29..9a66449 100644 --- a/themes/problematic/layouts/partials/header.html +++ b/themes/problematic/layouts/partials/header.html @@ -0,0 +1,12 @@ + diff --git a/themes/problematic/layouts/partials/posts.html b/themes/problematic/layouts/partials/posts.html new file mode 100644 index 0000000..8ff3eb2 --- /dev/null +++ b/themes/problematic/layouts/partials/posts.html @@ -0,0 +1,6 @@ +

    Posts

    + -- cgit v1.2.3