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 --- content/_index.md | 3 ++- content/blog/facebook-clegg.md | 9 +++++++++ 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 ++++++ 7 files changed, 49 insertions(+), 5 deletions(-) create mode 100644 content/blog/facebook-clegg.md create mode 100644 themes/problematic/layouts/_default/li.html create mode 100644 themes/problematic/layouts/partials/posts.html diff --git a/content/_index.md b/content/_index.md index bfc0cf0..e9f54cf 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,3 +1,4 @@ -# Toss! + There is not much to see from the top of this particular mountain. + Me Me on a mountain diff --git a/content/blog/facebook-clegg.md b/content/blog/facebook-clegg.md new file mode 100644 index 0000000..2c2c335 --- /dev/null +++ b/content/blog/facebook-clegg.md @@ -0,0 +1,9 @@ +--- +title: Nick Clegg is a total trumpet +date: 2021-10-31 +draft: false +--- +And so is the other guy... + +{{< youtube pDCtkB1IZWk >}} + 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