@@ -1,6 +1,12 @@
|
||||
{{- $site := .Site -}}
|
||||
{{- $logoPath := $site.Params.logo | default "logo-large.png" -}}
|
||||
{{- $logo := resources.GetMatch $logoPath -}}
|
||||
{{- $htmlValidationURL := printf "https://validator.w3.org/nu/?doc=%s" (.Permalink | urlquery) -}}
|
||||
{{- $cssValidationURL := printf "https://jigsaw.w3.org/css-validator/validator?uri=%s&profile=css3svg&usermedium=all&warning=0&lang=fr" (.Permalink | urlquery) -}}
|
||||
{{- $rssValidationURL := "" -}}
|
||||
{{- with $site.Home.OutputFormats.Get "RSS" -}}
|
||||
{{- $rssValidationURL = printf "https://validator.w3.org/feed/check.cgi?url=%s" (.Permalink | urlquery) -}}
|
||||
{{- end -}}
|
||||
<footer>
|
||||
<section aria-label="Informations du site">
|
||||
{{- with $logo -}}
|
||||
@@ -48,6 +54,13 @@
|
||||
</li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
<ul class="footer-antipixels" aria-label="Validité des standards du site">
|
||||
<li><a class="footer-antipixel footer-antipixel-html" href="{{ $htmlValidationURL }}" title="Valider cette page HTML5" target="_blank" rel="noreferrer noopener">HTML5 OK</a></li>
|
||||
<li><a class="footer-antipixel footer-antipixel-css" href="{{ $cssValidationURL }}" title="Valider le CSS utilisé par cette page" target="_blank" rel="noreferrer noopener">CSS3 OK</a></li>
|
||||
{{- if ne $rssValidationURL "" -}}
|
||||
<li><a class="footer-antipixel footer-antipixel-rss" href="{{ $rssValidationURL }}" title="Valider le flux RSS principal" target="_blank" rel="noreferrer noopener">RSS OK</a></li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
{{- with .GitInfo -}}
|
||||
<p>
|
||||
Dernière modification de cette page :
|
||||
|
||||
Reference in New Issue
Block a user