mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 23:09:47 +00:00
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:
parent
34761ba2b2
commit
36496df615
2 changed files with 5 additions and 5 deletions
|
@ -33,9 +33,9 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="card-content has-text-centered top-pad">
|
<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 }}
|
{{ .Title | markdownify }}
|
||||||
</a>
|
</a></h1>
|
||||||
{{ if .Params.project_timeframe }}
|
{{ if .Params.project_timeframe }}
|
||||||
<p class="fa-xs">{{ .Params.project_timeframe }}</p>
|
<p class="fa-xs">{{ .Params.project_timeframe }}</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
<div class="modal-card">
|
<div class="modal-card">
|
||||||
{{ with .Title }}
|
{{ with .Title }}
|
||||||
<header class="modal-card-header bottom-pad">
|
<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>
|
</header>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Params.project_timeframe }}
|
{{ if .Params.project_timeframe }}
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="card-content has-text-centered top-pad">
|
<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 }}
|
{{ .Title | markdownify }}
|
||||||
</a>
|
</a></h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue