fix bug header and link in footer for source code

This commit is contained in:
rick 2023-01-13 18:21:20 +01:00
parent 6544c009e2
commit 1cf9c21280
Signed by: Rick
GPG key ID: 4A6223D66294EB20
2 changed files with 3 additions and 2 deletions

View file

@ -75,7 +75,7 @@ function generate_header {
gsub(/ $/, "", $1); gsub(/^ /, "", $2)
print " <a href=\""$1"\">"$2"</a>"
}
}' lang/fr/header.link >> $tmpHeader
}' $1 >> $tmpHeader
echo -e " </div>\n" >> $tmpHeader
}
@ -148,6 +148,7 @@ do
sed -i -e "s/img alt=\"$l/img id=\"choose\" alt=\"$l/" $file
sed -i -e "s/%file%/$i/" $file
sed -i -e "s/%gitfile%/$l\/$i/" $file
sed -i -e "s/%lang%/$l/" $file
done
done

View file

@ -8,7 +8,7 @@
</div>
<div id="footer-text">
<p>Site sans cookie, ni JS, ni tracker.</p>
<p><a href="https://git.gyiwr.tf/gyiwr/tree/%file%">Code source de la page</a></p>
<p><a href="https://git.gyiwr.tf/gyiwr/tree/%gitfile%">Code source de la page</a></p>
<p id="footer-contact">2023 (c) rick <span id="footer-link-email">&lt;rick [at] gnous [dot] eu&gt;</span></p>
</div>
<a id="fsf" href="https://my.fsf.org/join">