mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-18 22:15:32 -04:00
make sure config for Netlify functions is okay so far 😬
[skip ci]
This commit is contained in:
@@ -297,7 +297,7 @@
|
||||
|
||||
{{ if eq hugo.Environment "production" }}
|
||||
<!-- https://docs.simpleanalytics.com/without-javascript -->
|
||||
<amp-pixel src="{{ "sa/noscript.gif" | absURL }}?ignore-dnt=true&hostname=CANONICAL_HOSTNAME&path=CANONICAL_PATH&referrer=DOCUMENT_REFERRER&https=true&ua=USER_AGENT&width=VIEWPORT_WIDTH&type=pageview" layout="nodisplay"></amp-pixel>
|
||||
<amp-pixel src="{{ "api/views/noscript.gif" | absURL }}?ignore-dnt=true&hostname=CANONICAL_HOSTNAME&path=CANONICAL_PATH&referrer=DOCUMENT_REFERRER&https=true&ua=USER_AGENT&width=VIEWPORT_WIDTH&type=pageview" layout="nodisplay"></amp-pixel>
|
||||
{{ end }}
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<link rel="preload" href="{{ "vendor/inter/inter-regular-subset.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ "vendor/inter/inter-medium-subset.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ "vendor/inter/inter-bold-subset.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
|
||||
<link rel="preload" href="{{ "vendor/hack/hack-regular-subset.woff2" | absURL }}" as="font" type="font/woff2" crossorigin>
|
||||
|
@@ -3,7 +3,7 @@ User-Agent: *
|
||||
Allow: /.well-known/amphtml/apikey.pub
|
||||
Disallow: /403.html
|
||||
Disallow: /404.html
|
||||
Disallow: /sa/
|
||||
Disallow: /api/
|
||||
Disallow: /y2k/
|
||||
Sitemap: {{ "sitemap.xml" | absURL }}
|
||||
{{- else }}
|
||||
|
Reference in New Issue
Block a user