diff --git a/.github/workflows/build-and-lint.yml b/.github/workflows/lint.yml similarity index 100% rename from .github/workflows/build-and-lint.yml rename to .github/workflows/lint.yml diff --git a/config.toml b/config.toml index f667b595..af13f5ed 100644 --- a/config.toml +++ b/config.toml @@ -7,15 +7,17 @@ timeout = 120000 canonifyURLs = true -disableKinds = ["taxonomy", "taxonomyTerm"] -disableHugoGeneratorInject = true # don't worry, inserted manually :) - pygmentsUseClasses = true pygmentsCodeFences = true pygmentsCodeFencesGuessSyntax = false enableRobotsTXT = true +disableKinds = ["taxonomy", "taxonomyTerm"] + +# don't worry, inserted manually :) +disableHugoGeneratorInject = true + # prefer Netlify's _redirects file, see outputs below disableAliases = true @@ -27,10 +29,9 @@ disableAliases = true defaultImage = "/me_large.jpg" copyrightFirstYear = "2001" wayback = "https://web.archive.org/web/20010501000000*/jakejarvis.com" - -[params.algolia] - vars = ["title", "summary", "date", "permalink", "draft"] - params = ["tags"] + license = "CC-BY-4.0" + licenseFull = "Creative Commons Attribution 4.0 International" + licenseURL = "https://creativecommons.org/licenses/by/4.0/" [author] name = "Jake Jarvis" @@ -72,6 +73,7 @@ disableAliases = true [outputFormats.MANIFEST] mediaType = "application/json" baseName = "manifest" + isPlainText = true notAlternative = true [outputFormats.REDIRECTS] mediaType = "text/netlify" diff --git a/content/_index.html b/content/_index.html index 8a9debe2..d85d99c9 100644 --- a/content/_index.html +++ b/content/_index.html @@ -1,6 +1,6 @@ --- title: "Jake Jarvis – Front-End Web Developer in Boston, MA" -date: 2020-01-21 22:14:57-0400 +date: 2020-03-06 18:46:21-0400 type: home --- diff --git a/go.mod b/go.mod new file mode 100644 index 00000000..d3963620 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/jakejarvis/jarv.is + +go 1.13 diff --git a/go.sum b/go.sum new file mode 100644 index 00000000..e69de29b diff --git a/layouts/404.html b/layouts/404.html index e4ef03fb..dd09b5dc 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -3,9 +3,10 @@ {{ hugo.Generator }} - - Page Not Found + + + + + {{ partialCached "head/favicons" (dict "pngSizes" "192 48 32 16" "icoSizes" "16 32 48") }}
diff --git a/layouts/_default/single.amp.html b/layouts/_default/single.amp.html index 8c511bb6..352337d8 100644 --- a/layouts/_default/single.amp.html +++ b/layouts/_default/single.amp.html @@ -14,9 +14,9 @@ {{ if .HasShortcode "vimeo" }}{{ end }} {{ .Title }} – {{ .Site.Title }} {{ with .OutputFormats.Get "html" }}{{ end }} - - + {{ with .Site.Author.name }}{{ end }} + {{ partial "head/open-graph" . }} @@ -213,11 +213,8 @@ div.highlight span.lnt { color: #999999; } - - - - - + {{ partialCached "head/favicons" (dict "pngSizes" "192 48 32 16" "icoSizes" "16 32 48") }} + @@ -251,7 +248,7 @@ diff --git a/layouts/partials/functions/social-images.html b/layouts/partials/functions/social-images.html index 46a70e4a..f1b2fde8 100644 --- a/layouts/partials/functions/social-images.html +++ b/layouts/partials/functions/social-images.html @@ -1,5 +1,5 @@ {{/* Default image */}} -{{- $defaultImagePath := (path.Join "content" $.Site.Params.defaultimage) }} +{{- $defaultImagePath := (path.Join "content" $.Site.Params.defaultImage) }} {{ $.Scratch.Set "defaultImage_url" (replace $defaultImagePath "content/" "") }} {{ with (imageConfig $defaultImagePath) }} {{- $.Scratch.Set "defaultImage_width" .Width }} diff --git a/layouts/partials/head/favicons.html b/layouts/partials/head/favicons.html index 5624fea3..f8da6b3c 100644 --- a/layouts/partials/head/favicons.html +++ b/layouts/partials/head/favicons.html @@ -1,10 +1,10 @@ -{{ range (split .png_sizes " ") -}} +{{ range (split .pngSizes " ") -}} {{ end -}} {{ $s := slice -}} -{{ range (split .ico_sizes " ") }}{{ $s = $s | append (printf "%vx%v" . .) }}{{ end -}} +{{ range (split .icoSizes " ") }}{{ $s = $s | append (printf "%vx%v" . .) }}{{ end -}} diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html index bad01f61..ca628b41 100644 --- a/layouts/partials/head/head.html +++ b/layouts/partials/head/head.html @@ -4,7 +4,7 @@ {{ partialCached "head/mobile" . -}} {{ partialCached "head/preload" . -}} {{ partialCached "head/styles" . -}} -{{ partialCached "head/favicons" (dict "png_sizes" "192 48 32 16" "ico_sizes" "16 32 48") -}} +{{ partialCached "head/favicons" (dict "pngSizes" "192 48 32 16" "icoSizes" "16 32 48") -}} diff --git a/layouts/partials/head/open-graph.html b/layouts/partials/head/open-graph.html index 36fb6f71..67eba4b9 100644 --- a/layouts/partials/head/open-graph.html +++ b/layouts/partials/head/open-graph.html @@ -25,7 +25,7 @@ {{- end }} {{ with .Site.Author.facebookid }}{{ end }} -{{ with .Site.Params.facebookappid }}{{ end }} +{{ with .Site.Params.facebookAppID }}{{ end }} diff --git a/layouts/partials/page/footer.html b/layouts/partials/page/footer.html index 8dedac5a..0dcd47b4 100644 --- a/layouts/partials/page/footer.html +++ b/layouts/partials/page/footer.html @@ -1,7 +1,9 @@