Update menu look'n'feel

This commit is contained in:
2024-06-16 19:17:10 +02:00
parent 37aac32a4b
commit 29bcbde583
12 changed files with 27 additions and 97 deletions

View File

@@ -1,8 +1,7 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
<h2>{{ .Title }}</h2>
{{ range .Pages.ByPublishDate.Reverse }}
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{ partial "metadata.html" . }}
<a class="summary" href="{{ .RelPermalink }}">
<p>{{ .Summary }}</p>
</a>

View File

@@ -1,6 +1,5 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ partial "metadata.html" . }}
<br><br>
<h2>{{ .Title }}</h2>
{{ .Content }}
<br /><br />
{{ end }}

View File

@@ -11,7 +11,7 @@
{{ end }}
</ul>
{{ else }}
<li><a href="{{ .URL }}"><b>{{ $text := print .Name | safeHTML }}{{ $text }}</b></a></li>
<li><a href="{{ .URL }}">{{ .Pre }}<b>{{ $text := print .Name | safeHTML }}{{ $text }}{{ .Post }}</b></a></li>
{{ end }}
{{ end }}
</ul>

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,5 @@
@import url("/css/fontawesome-min.css");
html {
color : #333333;
background-color : #FFFFFF;

Binary file not shown.

Binary file not shown.

View File

@@ -7,4 +7,4 @@ languageCode = "en-us"
min_version = "0.1.0"
[author]
name = "Rafal Kupiec"
name = "Rafal Kupiec"