forked from laurens/fediversity_website
Alleen scripts laden als bepaalde termen in de titel van de pagina staan, zoals zoekresultaten
This commit is contained in:
parent
a57fe82cc5
commit
7d63947cdf
|
@ -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>
|
||||||
|
|
Reference in a new issue