mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 01:42:10 +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>
|
||||
<html>
|
||||
<html lang="{{- default "" .Site.LanguageCode -}}">
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
<ul id="posts">
|
||||
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
<li>
|
||||
<time>{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
<br>
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ .Title }}
|
||||
<small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue