~mdw
/
tgal
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mason/dhandler, static/tgal.css: Use `figure' and `figcaption' elements.
[tgal]
/
mason
/
dhandler
diff --git
a/mason/dhandler
b/mason/dhandler
index
887bd59
..
13731e1
100755
(executable)
--- a/
mason/dhandler
+++ b/
mason/dhandler
@@
-238,22
+238,22
@@
Failed to find ‘<% $path |h %>’.
% if (defined $img) { $tn = scaled "thumb", $img; }
% else { $tn = "$STATICURL/folder.svg"; }
% if ($focus) {
% if (defined $img) { $tn = scaled "thumb", $img; }
% else { $tn = "$STATICURL/folder.svg"; }
% if ($focus) {
- <
div
class=thumb id=focusthumb>
+ <
figure
class=thumb id=focusthumb>
<img class=thumb src="<% $tn |u %>">
<img class=thumb src="<% $tn |u %>">
- <
div class=caption><span class=name><% $caption %></span></div
>
+ <
figcaption><span class=name><% $caption %></span></figcaption
>
% } else {
% } else {
- <
div
class=thumb>
+ <
figure
class=thumb>
<a class=thumb href="<% $target |u %>">
<img class=thumb src="<% $tn |u %>">
<a class=thumb href="<% $target |u %>">
<img class=thumb src="<% $tn |u %>">
- <
div class=
caption>
+ <
fig
caption>
<span class=name><% $caption %></span>
% if (defined $comment) {
<span class=comment><% $comment %></span>
% }
<span class=name><% $caption %></span>
% if (defined $comment) {
<span class=comment><% $comment %></span>
% }
- </
div
>
+ </
figcaption
>
</a>
% }
</a>
% }
- </
div
>
+ </
figure
>
%
<%args>
$target
%
<%args>
$target