From 1d247493e05cdc659e46cd3d8a01d5da1e893867 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 18 Jun 2024 16:46:22 +0200 Subject: switch to templ for rendering HTML templates --- templates/404.html | 37 ----------------------- templates/count.html | 8 ----- templates/dev.html | 8 ----- templates/homepage.html | 63 --------------------------------------- templates/list.html | 52 --------------------------------- templates/post.html | 78 ------------------------------------------------- templates/style.css | 1 + templates/tags.html | 42 -------------------------- 8 files changed, 1 insertion(+), 288 deletions(-) delete mode 100644 templates/404.html delete mode 100644 templates/count.html delete mode 100644 templates/dev.html delete mode 100644 templates/homepage.html delete mode 100644 templates/list.html delete mode 100644 templates/post.html delete mode 100644 templates/tags.html (limited to 'templates') diff --git a/templates/404.html b/templates/404.html deleted file mode 100644 index 81b2a54..0000000 --- a/templates/404.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - Site Title - - - - - -
-

- Site title -

- -
-
-

404

-

ʕノ•ᴥ•ʔノ ︵ ┻━┻

-
- - - diff --git a/templates/count.html b/templates/count.html deleted file mode 100644 index 46d5ac4..0000000 --- a/templates/count.html +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/templates/dev.html b/templates/dev.html deleted file mode 100644 index 0ca383e..0000000 --- a/templates/dev.html +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/templates/homepage.html b/templates/homepage.html deleted file mode 100644 index 60bedb8..0000000 --- a/templates/homepage.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - Site Title - - - - - - -
-

- Site title -

- -
-
-
-
-

Latest Posts

- -
-
-

Elsewhere on the Internet

- -
-
- - - diff --git a/templates/list.html b/templates/list.html deleted file mode 100644 index 1c0b32b..0000000 --- a/templates/list.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - Site Title - - - - - - -
-

- Site Title -

- -
-
-
-

Tag

- - Remove filter - -
- -
- - - diff --git a/templates/post.html b/templates/post.html deleted file mode 100644 index 3dad16c..0000000 --- a/templates/post.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - -
-

- -

- -
-
-
-

Post Title

-

- -

-
- Enim lobortis scelerisque fermentum dui faucibus in ornare quam - viverra. Eget egestas purus viverra accumsan in nisl nisi, scelerisque - eu ultrices vitae, auctor eu augue ut lectus arcu, bibendum at. - - /bin/test - -
-            
-foo=bar
-            
-          
- - - - - - - - - - - - - - - - -
OneTwoThree
123
-
-
- Tags: - -
-
-
- - - diff --git a/templates/style.css b/templates/style.css index b386843..84ce1ce 100644 --- a/templates/style.css +++ b/templates/style.css @@ -198,6 +198,7 @@ ul.tags { .tags li { list-style: none; display: inline-block; + margin-inline-end: 1ex; } svg.rss-icon { diff --git a/templates/tags.html b/templates/tags.html deleted file mode 100644 index 1ff18c0..0000000 --- a/templates/tags.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - Site Title - - - - - - -
-

- Site title -

- -
-
-

Tags

- -
- - - -- cgit 1.4.1