1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- {{ template "head" }}
- <link rel="stylesheet" href="/static/css/index.css" />
- <link rel="stylesheet" href="/static/css/board.css" />
- <title>{{ .siteTitle }} - {{ .board }}</title>
- </head>
- <body>
- <div id="thread-list">
- <h1>You are lurking @ /{{ .board }}/</h1>
- <a href="/">Go home!</a>
- {{ template "newThreadForm" . }}
- <ul>
- {{ range .threads }}
- <li class="threadHead">
- <div class="threadHeadBody">
- <img
- src="data:image/png;base64,{{ .Image }}"
- alt="anon-image"
- width="180"
- />
- <h2>
- {{ .AuthorId }} - {{ .AuthorName }} - {{ dateTimeToString
- .CreatedAt }}
- </h2>
- <h3>
- {{ .Title }}
- <a href="/b/{{ $.board }}/{{ idToString .ID }}">[Reply]</a>
- </h3>
- <blockquote>{{ .Body }}</blockquote>
- </div>
- <ul class="replyList">
- {{ range .Posts }}
- <li>{{ template "postContent" . }}</li>
- {{ end }}
- </ul>
- </li>
- {{ end }}
- </ul>
- </div>
- </body>
- </html>
|