~mdw
/
tgal
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b3d679
)
mason/dhandler (.image): Compare references rather than filenames.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 11 Jun 2023 17:47:45 +0000
(18:47 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 12 Jun 2023 10:48:39 +0000
(11:48 +0100)
... for determining whether this is the focus image.
mason/dhandler
patch
|
blob
|
blame
|
history
diff --git
a/mason/dhandler
b/mason/dhandler
index
91a513b
..
d36722b
100755
(executable)
--- a/
mason/dhandler
+++ b/
mason/dhandler
@@
-207,7
+207,7
@@
Failed to find ‘<% $path |h %>’.
% for my $f (@$ff) {
<& .thumbnail, target => $f->name, img => $img{$f}, size => $size,
caption => $m->interp->apply_escapes($f->name, "h"),
- focus => $f
->name eq "$base$ext"
&>\
+ focus => $f
eq $this
&>\
% }
</div>
% }