Refactor templates

This commit is contained in:
Joakim Hellsén 2024-02-03 23:14:58 +01:00
commit a31849434b
4 changed files with 0 additions and 7 deletions

View file

@ -3,7 +3,6 @@
<h2>404 - Page not found</h2> <h2>404 - Page not found</h2>
<p>Sorry, the page you are looking for does not exist.</p> <p>Sorry, the page you are looking for does not exist.</p>
</span> </span>
<p> <p>
Extra information: Extra information:
<ul> <ul>
@ -15,5 +14,4 @@ Extra information:
<li>URL: {{ .Request.URL }}</li> <li>URL: {{ .Request.URL }}</li>
<li>UserAgent: {{ .Request.UserAgent }}</li> <li>UserAgent: {{ .Request.UserAgent }}</li>
</ul> </ul>
{{ end }} {{ end }}

View file

@ -15,5 +15,4 @@ Extra information:
<li>URL: {{ .Request.URL }}</li> <li>URL: {{ .Request.URL }}</li>
<li>UserAgent: {{ .Request.UserAgent }}</li> <li>UserAgent: {{ .Request.UserAgent }}</li>
</ul> </ul>
{{ end }} {{ end }}

View file

@ -10,8 +10,6 @@
{{ if .Author }}<meta name="author" content="{{ .Author }}">{{ end }} {{ if .Author }}<meta name="author" content="{{ .Author }}">{{ end }}
{{ if .CanonicalURL }}<link rel="canonical" href="{{ .CanonicalURL }}">{{ end }} {{ if .CanonicalURL }}<link rel="canonical" href="{{ .CanonicalURL }}">{{ end }}
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="/static/style.css">
</head> </head>
<body> <body>

View file

@ -1,5 +1,3 @@
{{template "base"}}
{{ define "content" }} {{ define "content" }}
<h2>Feeds to archive</h2> <h2>Feeds to archive</h2>
<p> <p>