Fix heading links
In 24ed7eab29
I added a link element to the template to turn
headings of blog posts into clickable links, but added it to the
wrong place, which caused a CSS problem.
This commit brings the fix.
This commit is contained in:
parent
24ed7eab29
commit
d3ac32dc09
|
@ -68,8 +68,9 @@
|
|||
{{- $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 }}">
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}">
|
||||
<h2 class="entry-hint-parent">
|
||||
</a>
|
||||
{{- .Title }}
|
||||
{{- if .Draft }}
|
||||
<span class="entry-hint" title="Draft">
|
||||
|
@ -80,7 +81,6 @@
|
|||
</span>
|
||||
{{- end }}
|
||||
</h2>
|
||||
</a>
|
||||
</header>
|
||||
{{- if (ne (.Param "hideSummary") true) }}
|
||||
<div class="entry-content">
|
||||
|
@ -92,6 +92,7 @@
|
|||
{{- partial "post_meta.html" . -}}
|
||||
</footer>
|
||||
{{- end }}
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||
</article>
|
||||
{{- end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue