Files
pages/templates/pages/home.gohtml
T

44 lines
645 B
Go Template

{{ define "home.gohtml" }}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ .WikiName }}</title>
<link rel="stylesheet" href="/o/path:/system/static/css/main.css">
<link rel="stylesheet" href="/o/path:/system/static/css/modes.css">
</head>
<body class="mode-home">
<header class="topbar">
<div class="brand">
<a href="/">{{ .WikiName }}</a>
</div>
<nav>
{{ range .NavItems }}
<a href="{{ .ResolvedHref }}">{{ .Label }}</a>
{{ end }}
</nav>
</header>
<main class="container">
<section>
<h1>Index of /</h1>
<article class="page-html">
{{ .RenderedHTML }}
</article>
</section>
</main>
</body>
</html>
{{ end }}