{{ $title := printf "%s · synapsyx" .Title }} {{ $desc := .Params.description | default (printf "%s — synapsyx GmbH, Vienna." .Title) }} {{ $url := .Permalink }} {{ $ogImage := resources.Get "v2/og-preview.png" | fingerprint }} {{ $title }} {{ with $ogImage }} {{ end }} {{ with $ogImage }}{{ end }} {{ $interTightLatinPreload := resources.Get "v2/fonts/inter-tight-latin.woff2" | fingerprint }} {{ $interLatinPreload := resources.Get "v2/fonts/inter-latin.woff2" | fingerprint }} {{ $favicon := resources.Get "logo/logo_dark.svg" | resources.Minify | resources.Fingerprint }} {{ $css := resources.Get "css/v2.css" | resources.ExecuteAsTemplate "css/v2.css" . }} {{ if hugo.IsProduction }} {{ $css = $css | resources.Minify | resources.Fingerprint }} {{ else }} {{ end }} {{/* Minimal JSON-LD: Organization + WebSite + WebPage + Breadcrumb. No SoftwareApplication or Person entities — those are homepage-scope. */}} {{ $orgID := "https://www.synapsyx.com/#organization" }} {{ $webID := "https://www.synapsyx.com/#website" }} {{ $pageID := printf "%s#webpage" $url }} {{ $org := dict "@type" "Organization" "@id" $orgID "name" "synapsyx" "legalName" "synapsyx GmbH" "url" "https://www.synapsyx.com/" "logo" $favicon.Permalink "vatID" "ATU82230578" "address" (dict "@type" "PostalAddress" "streetAddress" "Steigenteschgasse 13/3/53" "postalCode" "1220" "addressLocality" "Vienna" "addressCountry" "AT" ) }} {{ $website := dict "@type" "WebSite" "@id" $webID "url" "https://www.synapsyx.com/" "name" "synapsyx" "publisher" (dict "@id" $orgID) "inLanguage" "en" }} {{ $webpage := dict "@type" "WebPage" "@id" $pageID "url" $url "name" $title "description" $desc "isPartOf" (dict "@id" $webID) "about" (dict "@id" $orgID) "inLanguage" "en" }} {{ $breadcrumb := dict "@type" "BreadcrumbList" "itemListElement" (slice (dict "@type" "ListItem" "position" 1 "name" "Home" "item" "https://www.synapsyx.com/") (dict "@type" "ListItem" "position" 2 "name" .Title "item" $url) ) }} {{ $graph := dict "@context" "https://schema.org" "@graph" (slice $org $website $webpage $breadcrumb) }} {{ $logoSVG := resources.Get "logo/logo_wordmark.svg" }} {{ $logoSprite := "" }} {{ $logoUse := `` }} {{ with $logoSVG }} {{/* Same sprite trick as home.html: fold the wordmark into a , so both nav and footer logos can it without duplicating ~7KB of paths and re-using identical IDs. */}} {{ $logoSprite = .Content | replaceRE `(?i)\sid="svg1"` "" | replaceRE `(?is)]*)>` `` }} {{ end }} {{ $contactEmail := .Site.Params.contact.email | default "contact@synapsyx.com" }} {{ $contactAddress := .Site.Params.contact.address | default "Steigenteschgasse 13, 1220 Wien" }} {{ $discussHref := printf "mailto:%s?subject=Project%%20discussion" $contactEmail }}
{{ partial "v2/nav.html" (dict "kind" "legal" "logoUse" $logoUse) }}
{{ partial "v2/footer.html" (dict "logoUse" $logoUse "contactEmail" $contactEmail "contactAddress" $contactAddress "discussHref" $discussHref) }}
{{/* Legal pages don't need the hero/globe widgets — load v2.js standalone so the theme toggle, scroll-shrink nav, and smooth-scroll work without shipping ~50KB of unused canvas code. v2.js handles missing elements (hero canvas, globe, burger, .reveal) by early-returning. */}} {{ $js := resources.Get "js/v2.js" }} {{ if hugo.IsProduction }} {{ $js = $js | resources.Minify | resources.Fingerprint }} {{ else }} {{ end }}