micrach/templates/pages/thread.html
Yanislav Igonin edb39360d2 Revert "fix: static hosting"
This reverts commit 2c19a7794d.
2022-02-28 12:33:32 +02:00

29 lines
574 B
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{ $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>