1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 14:08:29 -04:00

disable Hugo aliases & move them to vercel.json

This commit is contained in:
Jake Jarvis 2021-06-13 09:23:11 -04:00
parent f35bd7aac2
commit c02f3e7e9a
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
7 changed files with 9 additions and 1 deletions

View File

@ -21,6 +21,9 @@ disableKinds = ["taxonomy", "term"]
# don't worry, inserted manually :) # don't worry, inserted manually :)
disableHugoGeneratorInject = true disableHugoGeneratorInject = true
# prefer 301 server redirects, see vercel.json
disableAliases = true
[params] [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." 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 image = "img/logo.png" # relative to assetDir root

View File

@ -4,7 +4,7 @@
<video <video
{{ with .Resources.GetMatch "thumb.*" }}poster="{{ .Permalink }}"{{ end }} {{ with .Resources.GetMatch "thumb.*" }}poster="{{ .Permalink }}"{{ end }}
controls crossorigin playsinline preload="none"> controls playsinline>
{{ with .Resources.GetMatch "*.webm" }}<source src="{{ .Permalink }}" type="video/webm">{{ end }} {{ with .Resources.GetMatch "*.webm" }}<source src="{{ .Permalink }}" type="video/webm">{{ end }}
{{ with .Resources.GetMatch "*.mp4" }}<source src="{{ .Permalink }}" type="video/mp4">{{ end }} {{ with .Resources.GetMatch "*.mp4" }}<source src="{{ .Permalink }}" type="video/mp4">{{ end }}
{{ with .Resources.GetMatch "*.ogg" }}<source src="{{ .Permalink }}" type="video/ogg">{{ end }} {{ with .Resources.GetMatch "*.ogg" }}<source src="{{ .Permalink }}" type="video/ogg">{{ end }}

View File

@ -18,6 +18,11 @@
{ "source": "/notes/:slug/amp.html", "destination": "/notes/:slug/", "statusCode": 301 }, { "source": "/notes/:slug/amp.html", "destination": "/notes/:slug/", "statusCode": 301 },
{ "source": "/blog/(.*)", "destination": "/notes/", "permanent": true }, { "source": "/blog/(.*)", "destination": "/notes/", "permanent": true },
{ "source": "/archives/(.*)", "destination": "/notes/", "permanent": true }, { "source": "/archives/(.*)", "destination": "/notes/", "permanent": true },
{ "source": "/2013/11/21/no-homo-still-raps-motto/", "destination": "/notes/no-homo-still-raps-motto/", "permanent": true },
{ "source": "/2016/02/28/millenial-with-hillary-clinton/", "destination": "/notes/millenial-with-hillary-clinton/", "permanent": true },
{ "source": "/2018/12/04/how-to-shrink-linux-virtual-disk-vmware/", "destination": "/notes/how-to-shrink-linux-virtual-disk-vmware/", "permanent": true },
{ "source": "/2018/12/07/shrinking-a-linux-virtual-disk-with-vmware/", "destination": "/notes/how-to-shrink-linux-virtual-disk-vmware/", "permanent": true },
{ "source": "/2018/12/10/cool-bash-tricks-for-your-terminal-dotfiles/", "destination": "/notes/cool-bash-tricks-for-your-terminal-dotfiles/", "permanent": true },
{ "source": "/feed/", "destination": "/feed.xml", "permanent": true }, { "source": "/feed/", "destination": "/feed.xml", "permanent": true },
{ "source": "/rss/", "destination": "/feed.xml", "permanent": true }, { "source": "/rss/", "destination": "/feed.xml", "permanent": true },
{ "source": "/index.xml", "destination": "/feed.xml", "permanent": true }, { "source": "/index.xml", "destination": "/feed.xml", "permanent": true },