Some checks failed
secrets-guard / encrypted (push) Successful in 24s
shell-lint / shellcheck (push) Successful in 26s
Deploy frontend to LAN dev server / build (push) Successful in 2m11s
Build + push frontend image (Forgejo registry) / build-push (push) Successful in 2m20s
Build + push backend image (Forgejo registry) / build-push (push) Successful in 2m28s
Deploy backend to LAN dev server / build (push) Successful in 2m45s
PR build (required check) / changes (pull_request) Successful in 16s
secrets-guard / encrypted (pull_request) Successful in 16s
shell-lint / shellcheck (pull_request) Successful in 15s
PR build (required check) / build-frontend (pull_request) Has been skipped
PR build (required check) / validate-observability (pull_request) Has been skipped
Deploy frontend to LAN dev server / deploy (push) Successful in 39s
PR build (required check) / build-backend (pull_request) Successful in 1m21s
PR build (required check) / gate (pull_request) Successful in 3s
Deploy backend to LAN dev server / deploy (push) Failing after 2m31s
21 lines
No EOL
1.4 KiB
Cheetah
21 lines
No EOL
1.4 KiB
Cheetah
{{/* Ported from templates/glossary_term.html.j2. Extra data:
|
|
.Breadcrumb; .Term string; .Others []{Slug, Term string};
|
|
.JSONLDStr template.JS — the handler builds the WHOLE DefinedTerm object
|
|
(the Jinja original interpolated `term|tojson` / `page_description|tojson`
|
|
/ base_url inline; Go's JS-context escaping differs byte-wise from
|
|
markupsafe's tojson, so the handler reproduces Python htmlsafe-tojson —
|
|
ensure_ascii \uXXXX escapes plus <,>,&,' → <,>,&,' —
|
|
and template.JS passes it through untouched);
|
|
.Body template.HTML — glossary yaml `body` with {base} substituted. This
|
|
is the Jinja `| safe` site: the content is trusted, committed copy from
|
|
frontend/content/glossary.yaml, not user or API input. */}}{{template "base_head_start" .}}{{template "base_head_end" .}}<script type="application/ld+json">{{.JSONLDStr}}</script>{{template "base_body_start" .}}{{template "breadcrumb" .}}<article class="climate-page">
|
|
<h1>{{.Term}}</h1>
|
|
<p class="lede">{{.Body}}</p>
|
|
<p><a class="cta" href="{{.Base}}/">See it live: grade any location's weather →</a></p>
|
|
<div class="climate-foot">
|
|
<h2>More terms</h2>
|
|
<ul class="city-links">
|
|
{{range .Others}}<li><a href="{{$.Base}}/glossary/{{.Slug}}">{{.Term}}</a></li>{{end}} </ul>
|
|
</div>
|
|
</article>
|
|
{{template "base_body_end" .}}{{template "base_scripts_default" .}}{{template "base_tail" .}} |