fixed styling of header

This commit is contained in:
Niko Abeler 2022-08-21 12:36:10 +02:00
parent dc2558fd38
commit 04be9a4fa9
2 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,8 @@
header {
background-color: {{.HeaderColor}};
}
hgroup h2 a { color: inherit; }
</style>
</head>
@ -20,7 +22,7 @@
<ul>
<li>
<hgroup>
<a href="{{ .User.UrlPath }}"><h2>{{ .UserTitle }}</h2></a>
<h2><a href="{{ .User.UrlPath }}">{{ .UserTitle }}</a></h2>
<h3>{{ .UserSubtitle }}</h3>
</hgroup>
</li>

View File

@ -1,7 +1,7 @@
<div class="h-feed">
{{range .}}
<div class="h-entry">
<h2><a class="u-url" href="{{.UrlPath}}">{{.Title}}</a></h2>
<h3><a class="u-url" href="{{.UrlPath}}">{{.Title}}</a></h3>
</div>
{{end}}
</div>