Compare commits

...

2 commits

Author SHA1 Message Date
c47 24ed7eab29
Make h2 headings on blog posts list pages links
Per default posts listed on list pages don't really have clickable
links. Access with non-graphical browsers is not given - this commit
brings the needed changes to fix this.
2024-03-03 20:29:10 +01:00
c47 5b6152ec2a
Configure favicon assets
Configured favicon assets explicetely in hugo.yaml
2024-03-03 20:08:43 +01:00
2 changed files with 9 additions and 1 deletions

View file

@ -20,6 +20,13 @@ params:
showRssButtonInSectionTermList: true
mainSections:
- blog
assets:
favicon: "/favicon.ico"
favicon16x16: "/favicon-16x16.png"
favicon32x32: "/favicon-32x32.png"
apple_touch_icon: "/apple-touch-icon.png"
android-chrome-192x192: "/android-chrome-192x192.png"
android-chrome-512x512: "/android-chrome-512x512.png"
outputs:
home:

View file

@ -68,6 +68,7 @@
{{- $isHidden := (.Param "cover.hiddenInList") | default (.Param "cover.hidden") | default false }}
{{- partial "cover.html" (dict "cxt" . "IsSingle" false "isHidden" $isHidden) }}
<header class="entry-header">
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}">
<h2 class="entry-hint-parent">
{{- .Title }}
{{- if .Draft }}
@ -79,6 +80,7 @@
</span>
{{- end }}
</h2>
</a>
</header>
{{- if (ne (.Param "hideSummary") true) }}
<div class="entry-content">
@ -90,7 +92,6 @@
{{- partial "post_meta.html" . -}}
</footer>
{{- end }}
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
</article>
{{- end }}