blob: d557b2f50f64972067d3af331052ba31d676c185 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<article class="static-page">
<!-- Static Page Hero -->
<div class="page-hero">
<div class="page-hero-overlay"></div>
<div class="page-hero-content">
<h1>{{ .Title }}</h1>
</div>
</div>
<!-- Page Content -->
<div class="page-content container-narrow">
{{ .Content }}
</div>
<!-- Related Pages Nav (for is/* section) -->
{{ if eq .Section "is" }}
<nav class="page-nav" style="margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);">
<h3 style="margin-bottom: 1rem;">Other pages</h3>
<ul style="list-style: none; margin: 0;">
{{ $section := .Site.GetPage "/is" }}
{{ if $section }}
{{ range $section.Pages }}
<li style="margin-bottom: 0.5rem;">
<a href="{{ .RelPermalink }}" {{ if eq $.RelPermalink .RelPermalink }}class="active"{{ end }}>
{{ .Title }}
</a>
</li>
{{ end }}
{{ end }}
</ul>
</nav>
{{ end }}
</article>
|