mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32:33 +03:00
feat: add home link in thread title
This commit is contained in:
parent
89487cda3b
commit
5a0189bbb3
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user