#!/bin/bash
+################################################################################
# Génère les fichiers HTML de mon site
#
# Copyright (C) 2022 rick G. <rick@gnous.eu>
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.
+################################################################################
# liste des fichiers html à générer
files="autres.html copaings.html index.html ou.html projets.html rss.html"
footer="footer.html"
org=1
+################################################################################
+# Génère un message d'aide
+################################################################################
function print_help {
echo "usage : generate.sh [-o] [<dossier>]"
echo -e "\tgénère les fichiers HTML du site. Il est possible de changer"
#!/bin/bash
+################################################################################
# importe les fichiers org modifiés pour une publication
#
# Copyright (C) 2022 rick G. <rick@gnous.eu>
#
# You should have received a copy of the GNU General Public License along with
# this program. If not, see <https://www.gnu.org/licenses/>.
+################################################################################
# couleurs
red="\e[31m"