mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 08:25:21 -04:00
disable Hugo aliases & move them to vercel.json
This commit is contained in:
parent
f35bd7aac2
commit
c02f3e7e9a
@ -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
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<video
|
||||
{{ 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 "*.mp4" }}<source src="{{ .Permalink }}" type="video/mp4">{{ end }}
|
||||
{{ with .Resources.GetMatch "*.ogg" }}<source src="{{ .Permalink }}" type="video/ogg">{{ end }}
|
||||
|
@ -18,6 +18,11 @@
|
||||
{ "source": "/notes/:slug/amp.html", "destination": "/notes/:slug/", "statusCode": 301 },
|
||||
{ "source": "/blog/(.*)", "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": "/rss/", "destination": "/feed.xml", "permanent": true },
|
||||
{ "source": "/index.xml", "destination": "/feed.xml", "permanent": true },
|
||||
|
Loading…
x
Reference in New Issue
Block a user