better redirects
Marco Andronaco andronacomarco@gmail.com
Sat, 11 Feb 2023 13:14:02 +0100
4 files changed,
7 insertions(+),
5 deletions(-)
M
archetypes/smol.md
→
archetypes/smol.md
@@ -1,6 +1,7 @@
+++ draft = false +title = "Redirecting..." slug = "{{ .Name }}" redirect = "https://" +++ -CONTENT NOT RENDERED +"smol" URL shortener
M
content/smol/cv.md
→
content/smol/cv.md
@@ -1,6 +1,7 @@
+++ -draft = false +draft = true +title = "Resume" slug = "cv" redirect = "https://mega.nz/file/NQ40FRIC#7LF_0OoR5yJzos51UIffOCEiovQetghXh0_cw_31Y6c" +++ -CONTENT NOT RENDERED +"smol" URL shortener
M
content/smol/tesi.md
→
content/smol/tesi.md
@@ -1,6 +1,7 @@
+++ draft = false +title = "Tesi" slug = "tesi" redirect = "https://mega.nz/file/JFwEWYZA#Uk6EF8QLyuvaxE9r389ufqXhwGiOC8GNbwLujP4YhlU" +++ -CONTENT NOT RENDERED +"smol" URL shortener
M
layouts/smol/single.html
→
layouts/smol/single.html
@@ -1,5 +1,4 @@
{{ define "main" }} -{{ if not (.Draft) }}<meta http-equiv="Refresh" content="0; url='{{ .Params.redirect }}'" />{{ end }} <main> <article> <h1 class="title">Redirecting...</h1>