Browse Source

adding GPG in footer

master
Mablr 1 year ago
parent
commit
8ae6125c02
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      bb.sh

+ 5
- 0
bb.sh View File

@ -32,6 +32,10 @@ global_variables() {
global_author_url="http://twitter.com/example"
# Your email
global_email="john@smith.com"
# Your GPG id
pubkey_id="none"
# Your pubkey link
pubkey_link="#"
# CC by-nc-nd is a good starting point, you can change this to "©" for Copyright
global_license="CC by-nc-nd"
@ -953,6 +957,7 @@ create_includes() {
protected_mail=${global_email//@/@}
protected_mail=${protected_mail//./.}
echo "<div id=\"footer\">$global_license <a href=\"$global_author_url\">$global_author</a> &mdash; <a href=\"mailto:$protected_mail\">$protected_mail</a><br/>"
echo "GPG : <a href="$pubkey_link">$pubkey_id</a><br/>"
echo 'Généré avec <a href="https://git.elukerio.org/mablr/miniblog/">miniblog</a>, une version modifiée de <a href="https://github.com/cfenollosa/bashblog">bashblog</a>.</div>'
} >> ".footer.html"
fi


Loading…
Cancel
Save