mirror of https://github.com/jlelse/GoBlog
Remove redirect template
This commit is contained in:
parent
5a284ab286
commit
6f79024b31
|
@ -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"
|
||||
|
|
|
@ -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 }}
|
Loading…
Reference in New Issue