From a31849434ba226b0d06f13dcb8be6c0357e3154d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sat, 3 Feb 2024 23:14:58 +0100 Subject: [PATCH] Refactor templates --- templates/404.tmpl | 2 -- templates/405.tmpl | 1 - templates/base.tmpl | 2 -- templates/index.tmpl | 2 -- 4 files changed, 7 deletions(-) diff --git a/templates/404.tmpl b/templates/404.tmpl index b1e6947..8e05203 100644 --- a/templates/404.tmpl +++ b/templates/404.tmpl @@ -3,7 +3,6 @@

404 - Page not found

Sorry, the page you are looking for does not exist.

-

Extra information:

- {{ end }} diff --git a/templates/405.tmpl b/templates/405.tmpl index 3278c61..6482214 100644 --- a/templates/405.tmpl +++ b/templates/405.tmpl @@ -15,5 +15,4 @@ Extra information:
  • URL: {{ .Request.URL }}
  • UserAgent: {{ .Request.UserAgent }}
  • - {{ end }} diff --git a/templates/base.tmpl b/templates/base.tmpl index 1b0bf29..6678975 100644 --- a/templates/base.tmpl +++ b/templates/base.tmpl @@ -10,8 +10,6 @@ {{ if .Author }}{{ end }} {{ if .CanonicalURL }}{{ end }} {{ .Title }} - - diff --git a/templates/index.tmpl b/templates/index.tmpl index ba2317b..e22928b 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -1,5 +1,3 @@ - -{{template "base"}} {{ define "content" }}

    Feeds to archive