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

View File

@ -1,7 +1,7 @@
<div class="h-feed"> <div class="h-feed">
{{range .}} {{range .}}
<div class="h-entry"> <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> </div>
{{end}} {{end}}
</div> </div>