This commit is contained in:
NaiJi ✨ 2025-11-14 20:16:22 -05:00
parent b8b06966f5
commit 3f83725fd2
2 changed files with 17 additions and 6 deletions

View File

@ -23,6 +23,10 @@ weight = 2
#footer items #footer items
showrss = true showrss = true
default_banner_left = "/banner-left.jpg"
default_banner_right = "/banner-right.jpg"
[permalinks] [permalinks]
en = "/:slug/" en = "/:slug/"
ru = "/ru/:slug/" ru = "/ru/:slug/"

View File

@ -13,9 +13,8 @@
<meta charset="utf-8"> <meta charset="utf-8">
</head> </head>
<body> <body>
<!-- Left Banner --> <!-- Left Banner -->
<div class="banner-left"></div> <div class="banner-left" style="background-image: url('{{ .Params.banner_left | default .Site.Params.default_banner_left }}'); background-size: cover; background-position: center right; background-repeat: no-repeat;"></div>
<!-- Main Content Wrapper --> <!-- Main Content Wrapper -->
<div class="content-wrapper"> <div class="content-wrapper">
{{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}} {{ if .Site.Menus.main }}{{ partial "nav.html" . }}{{ end -}}
@ -60,12 +59,20 @@
<br><br> <br><br>
{{ if eq .Site.Language.Lang "en" }} {{ if eq .Site.Language.Lang "en" }}
Site developed on <a href="https://gohugo.io/" class="gray-link">HUGO</a> with theme <a href="https://github.com/LukeSmithxyz/lugo" class="gray-link">lugo</a><br> Site developed on <a href="https://gohugo.io/" class="gray-link">HUGO</a> with theme <a href="https://github.com/LukeSmithxyz/lugo" class="gray-link">lugo</a><br>
Background image is a fragment of <i>Lilac</i> by Kyriak Kostiantynovych Kostandi.<br> {{ if .Params.banner_title }}
Background image: <i>{{ .Params.banner_title }}</i><br>
{{ else }}
Background image is a fragment of <i>Lilac</i> by Kyriak Kostiantynovych Kostandi.<br>
{{ end }}
The source code and templates are on <a href="https://code.htmlbyhand.online/NaiJi/write-html-by-hand-online" class="gray-link">Gitea</a><br> The source code and templates are on <a href="https://code.htmlbyhand.online/NaiJi/write-html-by-hand-online" class="gray-link">Gitea</a><br>
Grammar and syntax is kindly improved by AI. Grammar and syntax is kindly improved by AI.
{{ else }} {{ else }}
Сайт написан на <a href="https://gohugo.io/" class="gray-link">HUGO</a> с темой <a href="https://github.com/LukeSmithxyz/lugo" class="gray-link">lugo</a><br> Сайт написан на <a href="https://gohugo.io/" class="gray-link">HUGO</a> с темой <a href="https://github.com/LukeSmithxyz/lugo" class="gray-link">lugo</a><br>
На фоне фрагмент картины <i>Сирень</i> Кириака Константиновича Констанди.<br> {{ if .Params.banner_title }}
Фоновое изображение: <i>{{ .Params.banner_title }}</i><br>
{{ else }}
На фоне фрагмент картины <i>Сирень</i> Кириака Константиновича Констанди.<br>
{{ end }}
Весь исходный код и шаблоны лежат на <a href="https://code.htmlbyhand.online/NaiJi/write-html-by-hand-online" class="gray-link">Gitea</a><br> Весь исходный код и шаблоны лежат на <a href="https://code.htmlbyhand.online/NaiJi/write-html-by-hand-online" class="gray-link">Gitea</a><br>
Грамматические и синтаксические ошибки любезно исправлены AI. Грамматические и синтаксические ошибки любезно исправлены AI.
{{ end }} {{ end }}
@ -74,6 +81,6 @@
</div> </div>
<!-- Right Banner --> <!-- Right Banner -->
<div class="banner-right"></div> <div class="banner-right" style="background-image: url('{{ .Params.banner_right | default .Site.Params.default_banner_right }}'); background-size: cover; background-position: center left; background-repeat: no-repeat;"></div>
</body> </body>
</html> </html>