micrach/templates/pages/index.html
Yanislav Igonin fbe39f45a3
Feature - Components refactor (#10)
* 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
2022-01-31 19:56:21 +03:00

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>