mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Template accessibility fixes
- Language code in <html> tag - Make post list more easily clickable by splitting post URLs and timestamps.
This commit is contained in:
parent
1e371f7cfe
commit
a0cbba8a63
2 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="{{- default "" .Site.LanguageCode -}}">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body>
|
<body>
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
<ul id="posts">
|
<ul id="posts">
|
||||||
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
<li>
|
<li>
|
||||||
|
<time>{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||||
|
<br>
|
||||||
<a href="{{ .Permalink }}">
|
<a href="{{ .Permalink }}">
|
||||||
{{ .Title }}
|
{{ .Title }}
|
||||||
<small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue