From c02f3e7e9a9c280b99cf64d6bbe69491e2608934 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 13 Jun 2021 09:23:11 -0400 Subject: [PATCH] disable Hugo aliases & move them to vercel.json --- config.toml | 3 +++ layouts/_default/video.html | 2 +- {content => static}/daily.pdf | Bin {content => static}/humans.txt | 0 {content => static}/pubkey.asc | 0 {content => static}/resume.pdf | Bin vercel.json | 5 +++++ 7 files changed, 9 insertions(+), 1 deletion(-) rename {content => static}/daily.pdf (100%) rename {content => static}/humans.txt (100%) rename {content => static}/pubkey.asc (100%) rename {content => static}/resume.pdf (100%) diff --git a/config.toml b/config.toml index 8e6c51e3..52dfb703 100644 --- a/config.toml +++ b/config.toml @@ -21,6 +21,9 @@ disableKinds = ["taxonomy", "term"] # don't worry, inserted manually :) disableHugoGeneratorInject = true +# prefer 301 server redirects, see vercel.json +disableAliases = true + [params] description = "Hi there! I'm a frontend web developer based in Boston, Massachusetts specializing in the JAMstack, modern JavaScript frameworks, and progressive web apps." image = "img/logo.png" # relative to assetDir root diff --git a/layouts/_default/video.html b/layouts/_default/video.html index 7414b9d9..38ffae99 100644 --- a/layouts/_default/video.html +++ b/layouts/_default/video.html @@ -4,7 +4,7 @@