1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-30 01:06:00 -04:00

fix weird character encoding (no clue how non-breaking spaces ended up everywhere)

This commit is contained in:
2021-12-11 11:08:30 -05:00
parent 8fe68b009b
commit b82be240a7
18 changed files with 91 additions and 76 deletions
+4 -4
View File
@@ -1,6 +1,8 @@
{
"name": "{{ .Site.Title }}",
"short_name": "{{ (urls.Parse .Site.Params.baseURL).Host }}",
{{ with .Site.Params.baseURL }}"short_name": "{{ (urls.Parse .).Host }}",{{ end }}
{{ with .Site.Params.description }}"description": "{{ . | safeHTML | truncate 160 }}",{{ end }}
"lang": "{{ .Site.LanguageCode | default "en" }}",
"icons": [
{{ with partial "functions/webpack" (dict "context" . "src" "images/android-chrome-512x512.png") }}{
"src": "{{ .src | safeJS }}",
@@ -27,8 +29,6 @@
"purpose": "maskable"
}{{ end }}
],
"start_url": "/",
"display": "browser",
"background_color": "#ffffff",
"theme_color": "#0e6dc2"
"start_url": "/"
}
-1
View File
@@ -1,6 +1,5 @@
{{ partial "head/meta" . -}}
{{ partial "head/open-graph" . -}}
{{ partialCached "head/mobile" . -}}
{{ partial "head/canonical" . -}}
{{ partialCached "head/preload" . -}}
{{ partial "head/styles" . -}}
+1 -1
View File
@@ -1,7 +1,7 @@
<meta charset="utf-8">
{{ hugo.Generator }}
{{ if ne hugo.Environment "production" }}<meta name="robots" content="noindex, nofollow">{{ end }}
<title>{{ .Scratch.Get "plainTitle" }}{{ if not .IsHome }}  {{ .Site.Title }}{{ end }}</title>
<title>{{ .Scratch.Get "plainTitle" }}{{ if not .IsHome }} {{ .Site.Title }}{{ end }}</title>
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
{{ with .Site.Author.name }}<meta name="author" content="{{ . }}">{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1">
-3
View File
@@ -1,3 +0,0 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="{{ .Site.Title }}">
+1 -1
View File
@@ -1 +1 @@
<p><a href="https://github.com/{{ .Get "username" }}/{{ .Get "repo" }}">Star {{ .Get "username" }}/{{ .Get "repo" }} on GitHub</a> &mdash; <a href="https://github.com/{{ .Get "username" }}/{{ .Get "repo" }}/issues">Issues for {{ .Get "username" }}/{{ .Get "repo" }} on GitHub</a></p>
<p><a href="https://github.com/{{ .Get "username" }}/{{ .Get "repo" }}">Star {{ .Get "username" }}/{{ .Get "repo" }} on GitHub</a> &mdash; <a href="https://github.com/{{ .Get "username" }}/{{ .Get "repo" }}/issues">Issues for {{ .Get "username" }}/{{ .Get "repo" }} on GitHub</a></p>