31 lines
No EOL
724 B
HTML
31 lines
No EOL
724 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>{{ .Title }}</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
|
|
<body>
|
|
<main>
|
|
<header class="credits">
|
|
{{ .Credits | toCredits }}
|
|
</header>
|
|
<section class="rules">
|
|
{{ range .Sections }}
|
|
<h2 id="{{ .ID }}">{{ .ID }}. {{ .Title }}</h2>
|
|
{{ if .Extra }}
|
|
{{ .Text | htmlify }}
|
|
{{ else }}
|
|
<ul>
|
|
{{ range .Rules }}
|
|
<li id="{{ .ID }}" class="depth-{{ .Depth }}">({{ .ID }}) {{ .Text | htmlify }}</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
{{ end }}
|
|
</section>
|
|
</main>
|
|
</body>
|
|
|
|
</html> |