diff options
author | kaa <kaa@disroot.org> | 2024-09-29 12:55:32 -0700 |
---|---|---|
committer | kaa <kaa@disroot.org> | 2024-09-29 12:55:32 -0700 |
commit | c1e4b01a2de44ffaf00d8f6a14e8eace011f848c (patch) | |
tree | 9249e78d182ed7e9be0421731e3197244741c390 /photographed | |
parent | 7157fac03485b30b3ad7c2ea0a0cdd4286ba3e6e (diff) |
Diffstat (limited to 'photographed')
-rwxr-xr-x | photographed/monthly.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/photographed/monthly.sh b/photographed/monthly.sh index c8a849a..7003357 100755 --- a/photographed/monthly.sh +++ b/photographed/monthly.sh @@ -18,7 +18,7 @@ padimg() { printf "\t\t\t<a href=\"$site/$p" printf "\n%s\n" "\" target=\"_blank\">" - printf "\t\t\t\t%s%s%s" "<img src=\"" $site $p + printf "\t\t\t\t%s%s/%s" "<img src=\"" $site $p printf "%s\n" "\" loading=\"lazy\">" printf "\t\t\t</a>\n" printf "\t\t\t<br>\n" @@ -88,10 +88,11 @@ do nextoutfn=photographed/${year}-${month}.html if ! [ -z $outfn ] then - printf "\t\t\t<br><a href=\"$poutfn\"><h2>later</h2></a>" >> $outfn - printf "\t\t\t<br><a href=\"$nextoutfn\"><h2>earlier</h2></a>" >> $outfn + printf "\t\t\t<br><a href=\"${poutfn#*/}\"><h2>later</h2></a>" >> $outfn + printf "\t\t\t<br><a href=\"${nextoutfn#*/}\"><h2>earlier</h2></a>" >> $outfn cat footer/photographed.txt >> $outfn fi + poutfn=$outfn outfn=$nextoutfn echo $outfn cat header/photographed.txt > $outfn |