Verified Commit 4400d725 authored by Adam Matoušek's avatar Adam Matoušek
Browse files

Add some semantic attributes.

parent 9057d8d7
......@@ -617,6 +617,10 @@ figure.float {
color: var(--c-text);
border-radius: 0;
}
#comments textarea {
min-width: 100%;
max-width: 100%;
}
#comments input:not([type]):focus,
#comments textarea:focus {
border-color: var(--c-emph);
......
......@@ -35,10 +35,10 @@
</article>
[%- END %]
[%- IF npages > 1 -%]
<div id=pagination class=pane>
<nav id=pagination class=pane>
[%- IF pagenum > 1 -%]
<a class='item arrow' href='index[% pagenum - 1 IF pagenum > 2 %].html'
title='Předchozí stránka (novější příspěvky)'>←</a>
rel=prev title='Předchozí stránka (novější příspěvky)'>←</a>
[%- ELSE -%]<span class="item"></span>[%- END -%]
<span class=nums>
[%- FOREACH p IN pages_pre -%]
......@@ -51,9 +51,9 @@
</span>
[%- IF pagenum < npages -%]
<a class='item arrow' href='index[% pagenum + 1 %].html'
title='Další stránka (starší příspěvky)'>→</a>
rel=next title='Další stránka (starší příspěvky)'>→</a>
[%- ELSE -%]<span class="item"></span>[%- END -%]
</div>
</nav>
[%- END %]
[%- END %]
[%- END -%]
......@@ -25,12 +25,12 @@
[%- IF newer or older -%]
<div id=localnav>
<h2>Kam dál?</h2>
<div class=pane>
[%- IF newer -%][%- INCLUDE navblock linkname='Novější' ref=newer -%][%- END -%]
[%- IF older -%][%- INCLUDE navblock linkname='Starší' ref=older -%][%- END -%]
</div></div>
<nav class=pane>
[%- IF newer -%][%- INCLUDE navblock linkname='Novější' rel='prev' ref=newer -%][%- END -%]
[%- IF older -%][%- INCLUDE navblock linkname='Starší' rel='next' ref=older -%][%- END -%]
</nav></div>
[%- BLOCK navblock -%]
<a href='[% "$root/$ref.id" %]' [% IF ref.banner %]class=hasimg[% END %]>
<a href='[% "$root/$ref.id" %]' rel='[% rel %]' [% IF ref.banner %]class=hasimg[% END %]>
[%- IF ref.banner -%]
[%- INCLUDE autoimg src="$ref.id/$ref.banner" -%]
[%- END -%]
......
......@@ -12,7 +12,7 @@
[% END -%]
[%- BLOCK autoimg -%]
<img loading=lazy [% IF alt %]alt='[[% alt %]]'[% END %] [% genimgattr( src, minipics ) -%] />
<img loading=lazy alt='[% IF alt %][[% alt %]][% END %]' [% genimgattr( src, minipics ) -%]>
[%- END -%]
[%- SET store = {} -%]
......
<!DOCTYPE HTML>
<html>
<html lang=cs>
<head>
<title>[% IF title %][% title %] • [% END %]Áďův blog</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment