chiark
/
gitweb
/
~mdw
/
tgal
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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 91a513bc3eeaca58efea5f88e6c58bcf3a6e6f73..d36722b5d7b880ec21c0b7cde67efe17e47f8a0c 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>
% }