summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/static-page.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/static-page.html')
-rw-r--r--layouts/_partials/static-page.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/layouts/_partials/static-page.html b/layouts/_partials/static-page.html
new file mode 100644
index 0000000..d557b2f
--- /dev/null
+++ b/layouts/_partials/static-page.html
@@ -0,0 +1,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>