mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-23 14:52: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
28 lines
548 B
HTML
28 lines
548 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
{{ template "static" }}
|
|
<link href="/static/styles/index.css" rel="stylesheet">
|
|
{{ template "meta-tags-static" }}
|
|
</head>
|
|
|
|
<body>
|
|
{{ template "header" }}
|
|
|
|
<div class="container">
|
|
{{ template "post-form" .FormData }}
|
|
|
|
<div id="" class="row row-cols-auto gy-4 mb-4 justify-content-center">
|
|
{{ range $Post := .Threads }}
|
|
{{ template "thread-card" $Post }}
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ template "pagiantion" .Pagination }}
|
|
</div>
|
|
|
|
{{ template "footer" }}
|
|
</body>
|
|
|
|
</html> |