Remove redirect template

This commit is contained in:
Jan-Lukas Else 2020-11-10 16:41:21 +01:00
parent 5a284ab286
commit 6f79024b31
2 changed files with 0 additions and 10 deletions

View File

@ -25,7 +25,6 @@ const templatesExt = ".gohtml"
const templateBase = "base"
const templatePost = "post"
const templateError = "error"
const templateRedirect = "redirect"
const templateIndex = "index"
const templateTaxonomy = "taxonomy"
const templatePhotos = "photos"

View File

@ -1,9 +0,0 @@
{{ define "redirect" }}
<!doctype html>
<html lang={{ .Blog.Lang }}>
<meta charset="utf-8"/>
<meta name="robots" content="noindex">
<title>{{ .Data }}</title>
<link rel="canonical" href="{{ .Data }}"/>
<meta http-equiv="refresh" content="0; url={{ .Data }}"/>
{{ end }}