18 lines · 523 B · HTML
RawDownload
{{ template "head" . }}    <h2>{{ .Data.Title }}</h2>    {{ range $index, $post := .Data.Posts }}    <div>        <p><b>{{ $post.Author }}</b></p>        {{ $post.Content }}    </div>    {{ end }}    {{ if .LoggedIn }}    <div>        <form method="POST">            <div class="post-container" >                <textarea required name="content" placeholder="Tabula rasa"></textarea>                <button type="submit">Post</button>            </div>        </form>    {{ end }}{{ template "footer" . }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t