games, moves, projects collection pages
This commit is contained in:
parent
e3c0fa72d1
commit
92ea838dce
3 changed files with 81 additions and 0 deletions
27
tem/html/pages/games.html
Normal file
27
tem/html/pages/games.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
{{ template "head.html" .}}
|
||||
|
||||
<div style='height: 44px; width: 100%;'></div>
|
||||
|
||||
<div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
padding-left: 12px;
|
||||
"
|
||||
>
|
||||
<h1 style='word-wrap: break-word; hyphens: auto;'>
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
<p>{{ .Desc }}</p>
|
||||
</div>
|
||||
|
||||
|
||||
{{ range $hash, $game := .Data.Games }}
|
||||
<div>
|
||||
<a href="/game/{{ $hash }}">
|
||||
<h2>{{ $game.Name }}</h2>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
27
tem/html/pages/moves.html
Normal file
27
tem/html/pages/moves.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
{{ template "head.html" .}}
|
||||
|
||||
<div style='height: 44px; width: 100%;'></div>
|
||||
|
||||
<div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
padding-left: 12px;
|
||||
"
|
||||
>
|
||||
<h1 style='word-wrap: break-word; hyphens: auto;'>
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
<p>{{ .Desc }}</p>
|
||||
</div>
|
||||
|
||||
|
||||
{{ range $hash, $move := .Data.Moves }}
|
||||
<div>
|
||||
<a href="/move/{{ $hash }}">
|
||||
<h2>{{ $move.Name }}</h2>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
27
tem/html/pages/projects.html
Normal file
27
tem/html/pages/projects.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
{{ template "head.html" .}}
|
||||
|
||||
<div style='height: 44px; width: 100%;'></div>
|
||||
|
||||
<div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
width: 100%;
|
||||
justify-content: left;
|
||||
padding-left: 12px;
|
||||
"
|
||||
>
|
||||
<h1 style='word-wrap: break-word; hyphens: auto;'>
|
||||
{{ .Title }}
|
||||
</h1>
|
||||
<p>{{ .Desc }}</p>
|
||||
</div>
|
||||
|
||||
|
||||
{{ range $hash, $project := .Data.Projects }}
|
||||
<div>
|
||||
<a href="/project/{{ $hash }}">
|
||||
<h2>{{ $project.Name }}</h2>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Add table
Reference in a new issue