Browse Source

Fix #148: Title for tag pages (#937)

pull/933/head
ulf 2 years ago
committed by FSFE System
parent
commit
111252c751
2 changed files with 4 additions and 3 deletions
  1. +2
    -2
      tags/tagged.en.xhtml
  2. +2
    -1
      tools/update_xmllists.sh

+ 2
- 2
tags/tagged.en.xhtml View File

@ -2,12 +2,12 @@
<html>
<head>
<title>FSFE - tagged pages</title>
<title>FSFE - pages tagged "XXX_TAGNAME_XXX"</title>
</head>
<body>
<p id="category"><a href="/tags/tags.html">Tags</a></p>
<h1>List of tagged pages</h1>
<h1>List of pages tagged "XXX_TAGNAME_XXX"</h1>
<p>View: <a href="#tagged-news">News</a> / <a href="#tagged-events">Events</a></p>


+ 2
- 1
tools/update_xmllists.sh View File

@ -85,7 +85,8 @@ done
for tag in $(ls "${tagmaps}"); do
if ! cmp --quiet "${tagmaps}/${tag}" "tags/.tagged-${tag}.xmllist"; then
echo "* Updating tag ${tag}"
cp "tags/tagged.en.xhtml" "tags/tagged-${tag}.en.xhtml"
sed "s,XXX_TAGNAME_XXX,${tag},g" "tags/tagged.en.xhtml" \
> "tags/tagged-${tag}.en.xhtml"
cp "${tagmaps}/${tag}" "tags/.tagged-${tag}.xmllist"
fi
done


Loading…
Cancel
Save