mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-27 12:56:03 -04:00
some quick tweaks I've put off
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
</footer>
|
||||
|
||||
{{ if eq hugo.Environment "production" }}
|
||||
<amp-pixel src="{{ "api/count_view" | absURL }}?p=CANONICAL_PATH&h=SOURCE_URL&r=DOCUMENT_REFERRER&sid=PPSQZUDY" layout="nodisplay"></amp-pixel>
|
||||
<amp-pixel src="{{ "api/count_view" | absURL }}?p=CANONICAL_PATH&h=SOURCE_URL&r=EXTERNAL_REFERRER&sid=PPSQZUDY" layout="nodisplay"></amp-pixel>
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user