mirror of
https://github.com/rjNemo/go-wiki
synced 2026-06-12 05:26:42 +00:00
54 lines
1.3 KiB
HTML
54 lines
1.3 KiB
HTML
{{define "title"}} Welcome to Go-Wiki {{end}} {{define "content"}}
|
|
|
|
<div class="section">
|
|
<div class="jumbotron">
|
|
<h1 class="display-4">Welcome to Go-Wiki</h1>
|
|
<p class="lead">
|
|
Golang powered Wiki web application
|
|
</p>
|
|
<hr class="my-4" />
|
|
<p>
|
|
Look at our documentation to discover how to contribute !
|
|
</p>
|
|
<a class="btn btn-primary btn-lg" href="/view/Doc" role="button"
|
|
>Documentation</a
|
|
>
|
|
</div>
|
|
|
|
<!-- <div>
|
|
<ul>
|
|
{{ range $index, $entry := .Wikis }}
|
|
<li>
|
|
{{ $index }}: <a href="/view/{{ $entry.Title }}">{{ $entry.Title }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</div> -->
|
|
|
|
<div>
|
|
<h2>Go-Wiki Index</h2>
|
|
<p>Some description</p>
|
|
|
|
<table class="table table-hover">
|
|
<thead class="thead-light">
|
|
<tr>
|
|
<th scope="col">Title</th>
|
|
<th scope="col"></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{ range $index, $entry := .Wikis }}
|
|
<tr>
|
|
<td><a href="/view/{{ $entry.Title }}">{{ $entry.Title }}</a></td>
|
|
<th scope="row">
|
|
<a class="badge-pill badge-primary" href="/edit/{{ $entry.Title }}"
|
|
>Edit</a
|
|
>
|
|
</th>
|
|
</tr>
|
|
{{ end }}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{{end}}
|