summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-09-27 22:14:23 +0200
committermms <michal@sapka.me>2024-09-27 22:14:23 +0200
commit8897329715d0357c293d710158a4473ef7bc30c0 (patch)
tree6a15a6f65660f6037c236b5e0cc69f9b701ef894 /layouts
parent757321260a03582e9bdf3c848814fd1792fd8204 (diff)
feat: remove ST
Diffstat (limited to 'layouts')
-rw-r--r--layouts/star-trek/baseof.html13
-rw-r--r--layouts/star-trek/list.html2
-rw-r--r--layouts/star-trek/redirect.html9
-rw-r--r--layouts/star-trek/single.html2
4 files changed, 26 insertions, 0 deletions
diff --git a/layouts/star-trek/baseof.html b/layouts/star-trek/baseof.html
new file mode 100644
index 0000000..70884b1
--- /dev/null
+++ b/layouts/star-trek/baseof.html
@@ -0,0 +1,13 @@
+{{ block "main" . }}
+{{ end }}
+
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>{{ .Title }}</title>
+ <link rel="canonical" href="/unix-history/"/>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+ <meta http-equiv="refresh" content="0; url=https://startrek.crys.site/{{ replace .RelPermalink "/star-trek/" ""}}"/>
+ </head>
+
+</html>
diff --git a/layouts/star-trek/list.html b/layouts/star-trek/list.html
new file mode 100644
index 0000000..e4e4a83
--- /dev/null
+++ b/layouts/star-trek/list.html
@@ -0,0 +1,2 @@
+{{ define "main" }}
+{{ end }}
diff --git a/layouts/star-trek/redirect.html b/layouts/star-trek/redirect.html
new file mode 100644
index 0000000..599d57b
--- /dev/null
+++ b/layouts/star-trek/redirect.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>{{ .Title }}</title>
+ <link rel="canonical" href="/unix-history/"/>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
+ <meta http-equiv="refresh" content="0; url=/unix-history/#{{ .Page.Params.link }}"/>
+ </head>
+</html>
diff --git a/layouts/star-trek/single.html b/layouts/star-trek/single.html
new file mode 100644
index 0000000..e4e4a83
--- /dev/null
+++ b/layouts/star-trek/single.html
@@ -0,0 +1,2 @@
+{{ define "main" }}
+{{ end }}