reorganized folder structure

This commit is contained in:
2026-03-25 12:28:35 -04:00
parent 0d4833f940
commit 1f0f0fd8fe
1426 changed files with 348 additions and 9678 deletions

View File

@@ -0,0 +1,27 @@
{{ if isset $.Site.Params "amp" }}
{{- range $.Site.Params.ampElements -}}
{{- if (index (index $.Site.Data "amp-modules") .) -}}
<script async custom-element="{{ . }}" src="{{ (index (index $.Site.Data "amp-modules") .) }}"></script>
{{- end }}
{{- end }}
{{ with .Params.amp.elements }}
{{ range . }}
{{ if in $.Site.Params.ampElements . }}
{{ else }}
{{- if (index (index $.Site.Data "amp-modules") .) -}}
<script async custom-element="{{ . }}" src="{{ (index (index $.Site.Data "amp-modules") .) }}"></script>
{{- end }}
{{ end }}
{{ end }}
{{ end }}
{{- $ampCorePath := index (index $.Site.Data "amp-modules") "amp-core" -}}
<script async src="{{ $ampCorePath }}"></script>
{{ if isset $.Site.Params "ampmanifest" }}
{{ partial "amp/app-banner-header" . }}
{{ end }}
{{ end }}