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