mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32:33 +03:00
fbe39f45a3
* feat: header component * feat: captcha component * feat: rename all html files * feat: update github link * feat: all templates in subfolders * feat: separate thread card * feat: separate pagination * feat: update pagination * feat: separate post * lint
29 lines
574 B
HTML
29 lines
574 B
HTML
{{ $FirstPost:= index .Thread 0 }}
|
||
|
||
<!DOCTYPE html>
|
||
<html lang="en">
|
||
|
||
<head>
|
||
{{ template "static" }}
|
||
{{ template "meta-tags-dynamic" $FirstPost }}
|
||
<link href="/static/styles/thread.css" rel="stylesheet">
|
||
<link href="/static/styles/post.css" rel="stylesheet">
|
||
</head>
|
||
|
||
<body>
|
||
{{ template "header" $FirstPost.Title }}
|
||
|
||
<div class="container">
|
||
{{ template "post-form" .FormData }}
|
||
|
||
<div id="postsСontainer">
|
||
{{ range $Post := .Thread }}
|
||
{{ template "post" $Post }}
|
||
{{ end }}
|
||
</div>
|
||
</div>
|
||
|
||
{{ template "footer" }}
|
||
</body>
|
||
|
||
</html> |