X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fframe.html.sh;h=a2d8feefe579e5bd95222de7089247fcce26f78a;hp=db31ad839b92755f639e77a4191d5f43da8b3a23;hb=3b1ba429c9c2f361e62041037d9555d92bbeb6c1;hpb=406ba29b6abd1c12a56d754bf3c1f6aadb27aab6 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index db31ad8..a2d8fee 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -44,13 +44,15 @@ cat <%s' "${page}" "$(l10n "p_${page}")" - done) + printf '%s\n' "${page}" "$(l10n "p_${page}")" + done |grep -E '^ ' \ - "$(attribsafe ${REQUEST_URI})" "$(attribsafe $(grep -F "$REQUEST_URI " "$bmfile" |sed -r 's;.*\t;;'))" "$(l10n bm_del)" + "$(attribsafe ${REQUEST_URI})" \ + "$(attribsafe $(grep -m1 -F "$REQUEST_URI " "$bmfile" |sed -r 's;.*\t;;'))" \ + "$(l10n bm_del)" else printf '