feat: add home link in thread title

This commit is contained in:
Yanislav Igonin 2021-10-07 11:11:36 +03:00
parent 89487cda3b
commit 5a0189bbb3

View File

@ -11,13 +11,16 @@
</head>
<body>
<a href="/">
<h1 class="display-1 text-center">
{{ if ne $FirstPost.Title "" }}
{{$FirstPost.Title}}
{{ else }}
Welcome to Micrach
{{ end }}
</h1>
</a>
<div class="container">
{{ template "post-form" .FormData }}