mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-23 06:42:33 +03:00
fbe39f45a3
* feat: header component * feat: captcha component * feat: rename all html files * feat: update github link * feat: all templates in subfolders * feat: separate thread card * feat: separate pagination * feat: update pagination * feat: separate post * lint
18 lines
331 B
HTML
18 lines
331 B
HTML
{{ define "header" }}
|
|
|
|
{{ if . }}
|
|
<a href="/" class="thread-title-link">
|
|
<h1 class="display-1 text-center thread-title">
|
|
{{ if ne . "" }}
|
|
{{ . }}
|
|
{{ else }}
|
|
Welcome to Micrach
|
|
{{ end }}
|
|
</h1>
|
|
</a>
|
|
{{ else }}
|
|
<h1 class="display-1 text-center">Welcome to Micrach</h1>
|
|
{{ end }}
|
|
|
|
{{ end }}
|