1

fix title sections

This commit is contained in:
Motiejus Jakštys 2024-01-28 16:13:02 +02:00
parent 821ae59118
commit bc1bce58ce
2 changed files with 1 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
{{ partial "html-meta.html" . -}}
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<title>{{ if not (or .IsHome .IsSection) }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
{{ $css := resources.Get "style.scss" | resources.ToCSS (dict "transpiler" "dartsass" "enableSourceMap" false) | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
{{ with .Site.Params.favicon -}}

View File

@ -1,7 +1,4 @@
{{ define "main" -}}
<div>
<h1>{{ .Title }}</h1>
</div>
<div>
{{ .Content -}}
</div>
@ -13,5 +10,4 @@
</li>
{{ end -}}
</ul>
</main>
{{ end }}