fix bug header and link in footer for source code
This commit is contained in:
parent
6544c009e2
commit
1cf9c21280
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"><rick [at] gnous [dot] eu></span></p>
|
||||
</div>
|
||||
<a id="fsf" href="https://my.fsf.org/join">
|
||||
|
|
Loading…
Reference in a new issue