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> </head>
<body> <body>
<a href="/">
<h1 class="display-1 text-center"> <h1 class="display-1 text-center">
{{ if ne $FirstPost.Title "" }} {{ if ne $FirstPost.Title "" }}
{{$FirstPost.Title}} {{$FirstPost.Title}}
{{ else }} {{ else }}
Welcome to Micrach Welcome to Micrach
{{ end }} {{ end }}
</h1> </h1>
</a>
<div class="container"> <div class="container">
{{ template "post-form" .FormData }} {{ template "post-form" .FormData }}