feat(custom): tags link in header

This commit is contained in:
Anhgelus Morhtuuzh 2024-12-11 11:43:26 +01:00
parent 3742252bec
commit e833d89725
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
2 changed files with 3 additions and 2 deletions

View file

@ -1,9 +1,10 @@
{{define "body"}} {{define "body"}}
<main class="custom-page" style="{{ .GetBackground }}"> <main class="custom-page" style="{{ .GetBackground }}">
<div class="header"> <div class="header">
<h2>{{ .Title }}</h2> <h2 class="header__title">{{ .Title }}</h2>
<nav> <nav>
<a href="/">Home</a> <a href="/">Home</a>
<a href="/tags">Tags</a>
</nav> </nav>
</div> </div>
{{ .GetContent }} {{ .GetContent }}

View file

@ -1,7 +1,7 @@
{{define "body"}} {{define "body"}}
<main style="{{ .GetBackground }}"> <main style="{{ .GetBackground }}">
<div class="header"> <div class="header">
<h2>Tags</h2> <h2 class="header__title">Tags</h2>
<nav> <nav>
<a href="/">Home</a> <a href="/">Home</a>
</nav> </nav>