some quick tweaks I've put off

This commit is contained in:
2021-02-22 10:53:56 -05:00
parent 1de01b184e
commit 152ac851f4
5 changed files with 150 additions and 152 deletions
+2 -4
View File
@@ -1,16 +1,14 @@
{{- $android512 := resources.Get "img/android-chrome-512x512.png" -}}
{{- $android192 := resources.Get "img/android-chrome-192x192.png" -}}
{
"name": "{{ .Site.Title }}",
"short_name": "{{ (urls.Parse .Site.BaseURL).Host }}",
"icons": [
{
"src": "{{ $android512.Permalink | safeJS }}",
"src": "{{ (resources.Get "img/android-chrome-512x512.png").Permalink | safeJS }}",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "{{ $android192.Permalink | safeJS }}",
"src": "{{ (resources.Get "img/android-chrome-192x192.png").Permalink | safeJS }}",
"sizes": "192x192",
"type": "image/png"
}
+1 -1
View File
@@ -6,7 +6,7 @@
</footer>
{{ if eq hugo.Environment "production" }}
<amp-pixel src="{{ "api/count_view" | absURL }}?p=CANONICAL_PATH&amp;h=SOURCE_URL&amp;r=DOCUMENT_REFERRER&amp;sid=PPSQZUDY" layout="nodisplay"></amp-pixel>
<amp-pixel src="{{ "api/count_view" | absURL }}?p=CANONICAL_PATH&amp;h=SOURCE_URL&amp;r=EXTERNAL_REFERRER&amp;sid=PPSQZUDY" layout="nodisplay"></amp-pixel>
{{ end }}
</body>
</html>