7
0
Fork 0

Alleen scripts laden als bepaalde termen in de titel van de pagina staan, zoals zoekresultaten

This commit is contained in:
Michael Boelen 2023-06-01 10:44:30 +02:00
parent a57fe82cc5
commit 7d63947cdf

View file

@ -47,6 +47,8 @@
</div> </div>
</main> </main>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
{{ if findRE `[zZ]oek|[sS]earch` .Title 1 }}
{{ partialCached "scripts_loadlast.html" . }} {{ partialCached "scripts_loadlast.html" . }}
{{ end }}
</body> </body>
</html> </html>