Add "partials/" to static templates.Exists

This commit is contained in:
Ryan Gibson
2025-04-11 16:22:04 -04:00
parent baaf251bde
commit 6cfea9bfd1
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -80,7 +80,7 @@
<script src="{{ $zoomJS.RelPermalink }}" integrity="{{ $zoomJS.Data.Integrity }}"></script>
{{ end }}
{{/* Icons */}}
{{ if templates.Exists "favicons.html" }}
{{ if templates.Exists "partials/favicons.html" }}
{{ partialCached "favicons.html" .Site }}
{{ else }}
<link rel="apple-touch-icon" sizes="180x180" href="{{ "apple-touch-icon.png" | relURL }}" />
@@ -123,7 +123,7 @@
{{/* Analytics */}}
{{ partial "analytics/main.html" .Site }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}}
{{ if templates.Exists "extend-head.html" }}
{{ if templates.Exists "partials/extend-head.html" }}
{{ partialCached "extend-head.html" .Site }}
{{ end }}
<meta name="theme-color"/>