23 lines
372 B
HTML
23 lines
372 B
HTML
{{ define "file" }}
|
|
<html>
|
|
{{ template "head" . }}
|
|
|
|
<header>
|
|
<h1>{{ .meta.Title }}</h1>
|
|
<h2>{{ .meta.Description }}</h2>
|
|
</header>
|
|
<body>
|
|
{{ template "nav" . }}
|
|
<main>
|
|
<pre>
|
|
{{ range .linecount }}
|
|
<a id="#L{{ . }}" href="#{{ . }}">{{ . }}</a>
|
|
{{- end -}}
|
|
</pre>
|
|
<pre>
|
|
{{ .content }}
|
|
</pre>
|
|
</main>
|
|
</body>
|
|
</html>
|
|
{{ end }}
|