A lot of small changes improving keyboard navigation, readability and accesibility
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
{{- define "book-card-content" -}}
|
||||
{{- with .Get "image" -}}
|
||||
{{- $destination := partial "docs/links/portable-image" (dict "Page" $.Page "Destination" .) -}}
|
||||
<img src="{{ $destination | safeURL }}" />
|
||||
<img src="{{ $destination | safeURL }}" alt="{{ partial "docs/text/i18n" ($.Get "alt" ) }}" />
|
||||
{{- end -}}
|
||||
<div class="markdown-inner">
|
||||
{{ with .Inner }}{{ . }}{{ end -}}
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
{{- $content := .Get 0 -}}
|
||||
{{- default $content (i18n $content) -}}
|
||||
{{- partial "docs/text/i18n" (.Get 0) -}}
|
||||
@@ -6,7 +6,7 @@
|
||||
</dt>
|
||||
{{ if (in $.Params "summary") -}}
|
||||
<dd class="markdown-inner">
|
||||
{{ default .Summary .Description }}
|
||||
{{- or .Description .Summary site.Params.description | plainify | htmlUnescape }}
|
||||
</dd>
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user