mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
🔍 Feat: enhance search engine accessibility
This commit is contained in:
@@ -29,7 +29,10 @@
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
padding: 0.5rem;
|
||||
|
||||
&:not(:empty) {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.home-subtitle {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- /* Title */ -}}
|
||||
<h1 class="single-title" itemprop="name headline">
|
||||
<h2 class="single-title" itemprop="name headline">
|
||||
{{ $repost := $params.repost | default dict }}
|
||||
{{- with $repost -}}
|
||||
{{- if eq .Enable true -}}
|
||||
@@ -28,7 +28,7 @@
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h1>
|
||||
</h2>
|
||||
|
||||
{{- /* Meta */ -}}
|
||||
<div class="post-meta">
|
||||
|
||||
@@ -36,14 +36,14 @@
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
{{- with $profile.title -}}
|
||||
<h1 class="home-title">
|
||||
<h1 class="home-title">
|
||||
{{- with $profile.title -}}
|
||||
{{- . | safeHTML -}}
|
||||
</h1>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</h1>
|
||||
|
||||
{{- with $profile.subtitle -}}
|
||||
<h2 class="home-subtitle">
|
||||
<p class="home-subtitle">
|
||||
{{- if $profile.typeit -}}
|
||||
{{- $id := dict "Content" . "Scratch" $.Scratch "Id" "typeit-profile-subtitle" | partial "function/id.html" -}}
|
||||
<span class="d-none">{{ . }}</span>
|
||||
@@ -52,7 +52,7 @@
|
||||
{{- else -}}
|
||||
{{- . -}}
|
||||
{{- end -}}
|
||||
</h2>
|
||||
</p>
|
||||
{{- end -}}
|
||||
|
||||
{{- if $profile.social -}}
|
||||
|
||||
Reference in New Issue
Block a user