Mark titles as headings in html (#290)

Should help some of the SEO as it will trigger keywords on the headings which is I guess something you want to be found by search engines
This commit is contained in:
Crt Mori 2021-04-08 11:26:02 +02:00 committed by GitHub
parent 34761ba2b2
commit 36496df615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -33,9 +33,9 @@
</div>
{{ end }}
<div class="card-content has-text-centered top-pad">
<a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}>
<h1><a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}>
{{ .Title | markdownify }}
</a>
</a></h1>
{{ if .Params.project_timeframe }}
<p class="fa-xs">{{ .Params.project_timeframe }}</p>
{{ end }}
@ -60,7 +60,7 @@
<div class="modal-card">
{{ with .Title }}
<header class="modal-card-header bottom-pad">
<p class="modal-card-title has-text-centered">{{ . }}</p>
<h1 class="modal-card-title has-text-centered">{{ . }}</h1>
</header>
{{ end }}
{{ if .Params.project_timeframe }}

View file

@ -30,9 +30,9 @@
</div>
{{ end }}
<div class="card-content has-text-centered top-pad">
<a href="{{ if .Params.external_link }}{{ .Params.external_link }}{{ else }}{{ .Permalink }}{{ end }}">
<h1><a href="{{ if .Params.external_link }}{{ .Params.external_link }}{{ else }}{{ .Permalink }}{{ end }}">
{{ .Title | markdownify }}
</a>
</a></h1>
</div>
</div>
</div>