mirror of
https://github.com/alexandrev/xslt-lab.git
synced 2026-09-22 05:33:16 +00:00
8e8b7eacec
- Move site/ Hugo source from gh-pages to main so the workflow can trigger correctly - Fix publish-hugo.yml: now in main, builds and deploys to gh-pages:docs/ via peaceiris/actions-gh-pages - Add 3 new SEO articles: XSLT 3.0 features, beginners guide, template matching - Add llms.txt to blog and frontend so ChatGPT/Gemini can recommend the tool better - Remove stale /site mkdocs ignore rule, add site/public to gitignore instead Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
557 B
HTML
14 lines
557 B
HTML
{{- $publisher := .Site.Params.ethicalads.publisher -}}
|
|
{{- if and $publisher (ne hugo.Environment "development") -}}
|
|
{{ if not (.Scratch.Get "ethicalads_loaded") -}}
|
|
<script async src="https://media.ethicalads.io/media/client/ethicalads.min.js"></script>
|
|
{{ .Scratch.Set "ethicalads_loaded" true }}
|
|
{{- end }}
|
|
<div class="ad-bar">
|
|
<div class="container ad-bar-inner">
|
|
<span class="muted">Sponsored</span>
|
|
<div class="ethical-ad" data-ea-publisher="{{ $publisher }}" data-ea-type="image"></div>
|
|
</div>
|
|
</div>
|
|
{{- end -}}
|