Update Make Proceess and some converters

This commit is contained in:
Cyrille L 2022-03-05 18:18:46 +01:00
parent 1786ceb222
commit 5bb8298d67
5 changed files with 7 additions and 9 deletions

View File

@ -116,7 +116,6 @@ fi
touch "$gsl_file_db_post"
# Check webserver files
gsl__page_prepare_datas
[[ -f $gsl_srv_wip_page ]] \
&& gsl_process=wip

View File

@ -167,8 +167,7 @@ case "$1" in
;;
"make")
echo
echo "Converting icodes..."
echo -ne "\r\033[2K: Converting icodes..."
gsl_html_icode_o="<code class=\"${gsl_site_css}-code\">"
gsl_html_icode_c="</code>"

View File

@ -42,7 +42,7 @@ done
# Get Datas for Post/Page
#----------------------------------------------------------------------
gsl__page_prepare_datas() {
echo "D> $gsl_this_conf_domain"
#echo "D> $gsl_this_conf_domain"
# Source config website (DATAS)
source "$gsl_this_conf_domain/$gsl_find_domain.conf"
@ -247,7 +247,7 @@ EOFOOTER
# Check for files in templates folder
#-----------------------------------------------------------------------
gsl__check_templates() {
echo "D> $gsl_dir_domain_tpl"
#echo "D> $gsl_dir_domain_tpl"
# Create generic HEADER if not exists
! [[ "$gsl_dir_domain_tpl/header.html" ]] \
&& gsl__html_header

View File

@ -43,14 +43,14 @@ gsl__make_paragraphs
gsl__check_cites
gsl__make_a11y
echo -ne "\r\033[2K"
rm -f "$gsl_tmp_post" # No more Needed tmp file post
# Create HTML Page using gsl_a11y_post
# cat "$gsl_a11y_post"
gsl__page_creator
# No more Needed a11y post
rm -f "$gsl_a11y_post"
rm -f "$gsl_a11y_post" # No more Needed a11y post
}
#=======================================================================

View File

@ -62,7 +62,7 @@ do
make)
gsl_process="wip"
gsl__db_compare_post_hash && continue
gsl__page_prepare_datas
case "$gsl_db_post_status" in
chk)