Update Make Proceess and some converters
This commit is contained in:
parent
1786ceb222
commit
5bb8298d67
|
@ -116,7 +116,6 @@ fi
|
||||||
touch "$gsl_file_db_post"
|
touch "$gsl_file_db_post"
|
||||||
|
|
||||||
# Check webserver files
|
# Check webserver files
|
||||||
gsl__page_prepare_datas
|
|
||||||
[[ -f $gsl_srv_wip_page ]] \
|
[[ -f $gsl_srv_wip_page ]] \
|
||||||
&& gsl_process=wip
|
&& gsl_process=wip
|
||||||
|
|
||||||
|
|
|
@ -167,8 +167,7 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"make")
|
"make")
|
||||||
echo
|
echo -ne "\r\033[2K: Converting icodes..."
|
||||||
echo "Converting icodes..."
|
|
||||||
gsl_html_icode_o="<code class=\"${gsl_site_css}-code\">"
|
gsl_html_icode_o="<code class=\"${gsl_site_css}-code\">"
|
||||||
gsl_html_icode_c="</code>"
|
gsl_html_icode_c="</code>"
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ done
|
||||||
# Get Datas for Post/Page
|
# Get Datas for Post/Page
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
gsl__page_prepare_datas() {
|
gsl__page_prepare_datas() {
|
||||||
echo "D> $gsl_this_conf_domain"
|
#echo "D> $gsl_this_conf_domain"
|
||||||
|
|
||||||
# Source config website (DATAS)
|
# Source config website (DATAS)
|
||||||
source "$gsl_this_conf_domain/$gsl_find_domain.conf"
|
source "$gsl_this_conf_domain/$gsl_find_domain.conf"
|
||||||
|
@ -247,7 +247,7 @@ EOFOOTER
|
||||||
# Check for files in templates folder
|
# Check for files in templates folder
|
||||||
#-----------------------------------------------------------------------
|
#-----------------------------------------------------------------------
|
||||||
gsl__check_templates() {
|
gsl__check_templates() {
|
||||||
echo "D> $gsl_dir_domain_tpl"
|
#echo "D> $gsl_dir_domain_tpl"
|
||||||
# Create generic HEADER if not exists
|
# Create generic HEADER if not exists
|
||||||
! [[ "$gsl_dir_domain_tpl/header.html" ]] \
|
! [[ "$gsl_dir_domain_tpl/header.html" ]] \
|
||||||
&& gsl__html_header
|
&& gsl__html_header
|
||||||
|
|
|
@ -43,14 +43,14 @@ gsl__make_paragraphs
|
||||||
gsl__check_cites
|
gsl__check_cites
|
||||||
gsl__make_a11y
|
gsl__make_a11y
|
||||||
echo -ne "\r\033[2K"
|
echo -ne "\r\033[2K"
|
||||||
|
|
||||||
rm -f "$gsl_tmp_post" # No more Needed tmp file post
|
rm -f "$gsl_tmp_post" # No more Needed tmp file post
|
||||||
|
|
||||||
# Create HTML Page using gsl_a11y_post
|
# Create HTML Page using gsl_a11y_post
|
||||||
# cat "$gsl_a11y_post"
|
# cat "$gsl_a11y_post"
|
||||||
gsl__page_creator
|
gsl__page_creator
|
||||||
|
|
||||||
# No more Needed a11y post
|
rm -f "$gsl_a11y_post" # No more Needed a11y post
|
||||||
rm -f "$gsl_a11y_post"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
|
@ -62,7 +62,7 @@ do
|
||||||
|
|
||||||
make)
|
make)
|
||||||
gsl_process="wip"
|
gsl_process="wip"
|
||||||
gsl__db_compare_post_hash && continue
|
gsl__page_prepare_datas
|
||||||
|
|
||||||
case "$gsl_db_post_status" in
|
case "$gsl_db_post_status" in
|
||||||
chk)
|
chk)
|
||||||
|
|
Loading…
Reference in New Issue