mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 22:57:55 +00:00
30 lines
842 B
HTML
30 lines
842 B
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="{{ .Site.LanguageCode | default " en" }}">
|
||
|
|
||
|
<head>
|
||
|
{{ partial "head.html" . -}}
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div id="links">
|
||
|
{{ range $key, $value := sort (index $.Site.Data (slice "foodogsquared-homepage" "links")) "weight" }}
|
||
|
{{- $name := default $key $value.name -}}
|
||
|
<section id="section-{{ $name }}">
|
||
|
<span class="nav-header">{{ $name }}</span>
|
||
|
{{ with $value.flavorText }}
|
||
|
<span class="flavor-text">{{ . }}</span>
|
||
|
{{ end }}
|
||
|
<hr />
|
||
|
|
||
|
<nav>
|
||
|
{{ range $link := $value.links }}
|
||
|
<a href="{{ safeURL $link.url }}">{{ $link.text }}</a>
|
||
|
{{ end }}
|
||
|
</nav>
|
||
|
</section>
|
||
|
{{ end }}
|
||
|
</div>
|
||
|
</body>
|
||
|
|
||
|
</html>
|