{{- partial "breadcrumb.html" . }}
<main class="content cf">
<article id="content" class="main">
- <header><h1>{{ .Title }}</h1></header>
+ <header>
+ {{- block "title" . }}
+ <h1>{{ .Title }}</h1>
+ {{ end }}
+ </header>
{{- block "main" . }}{{ end }}
</article>
<div class="marginal">
-{{- define "main" }}
-
-<header class="page-header">
+{{- define "title" }}
<h1>
{{ .Title }}
{{- if (.Param "ShowRssButtonInSectionTermList") }}
{{ .Description }}
</div>
{{- end }}
-</header>
+{{- end }}
+{{- define "main" }}
{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{- if site.Params.ShowAllPagesInArchive }}
<a class="archive-header-link" href="#{{ $year }}">
{{- $year -}}
</a>
- <sup class="archive-count"> {{ len .Pages }}</sup>
</h2>
{{- range .Pages.GroupByDate "January" }}
<div class="archive-month">
{{- if eq .Kind "page" }}
<div class="archive-entry">
<h3 class="archive-entry-title entry-hint-parent">
- {{- .Title | markdownify }}
+ <a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}">{{- .Title | markdownify }}</a>
{{- if .Draft }}
<span class="entry-hint" title="Draft">
<svg xmlns="http://www.w3.org/2000/svg" height="15" viewBox="0 -960 960 960" fill="currentColor">
<div class="archive-meta">
{{- partial "post_meta.html" . -}}
</div>
- <a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
</div>
{{- end }}
{{- end }}