From 9c876741f246fce5ce87f0d3909513a36b60197d Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Thu, 7 Apr 2022 15:04:27 +0200 Subject: [PATCH] fix: convert link files +media link > 0.0.7 --- var/lib/gsl/scripts/gsl__post_makers | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/var/lib/gsl/scripts/gsl__post_makers b/var/lib/gsl/scripts/gsl__post_makers index d7c59a2..83b0a8e 100644 --- a/var/lib/gsl/scripts/gsl__post_makers +++ b/var/lib/gsl/scripts/gsl__post_makers @@ -25,9 +25,7 @@ gsl__page_listing_create Add gsl__do_italics "make" "$gsl_tmp_post" # First gsl__do_header "make" "$gsl_marker_link" "$gsl_post" gsl__do_header "make" "$gsl_marker_abbr" "$gsl_post" - gsl__make_files -echo "M> $gsl_mark_file" gsl__do_strongs_bolds "make" "$gsl_tmp_post" gsl__make_list @@ -613,35 +611,26 @@ gsl__make_files() { echo while read -r "gsl_this_file" do - gsl_this_file=${gsl_this_file/file: /} - echo "Line> $gsl_this_file" + gsl_this_file=${gsl_this_file/$gsl_marker_file/} gsl_filetxt=` awk -F" : " \ '{print $1}' \ <<< "$gsl_this_file"` - echo "1> $gsl_filetxt" - gsl_filename=` awk -F" : " \ '{print $2}' \ <<< "$gsl_this_file"` - - echo "2> $gsl_filename" gsl_filealt=` awk -F" : " \ '{print $3}' \ <<< "$gsl_this_file"` - echo "3> $gsl_filealt" - [[ "$gsl_filealt" ]] \ && gsl_HTML_file_title=" title=\"$gsl_filealt\"" - sleep 2 - # Set HTML Link case "$gsl_post_type" in post) gsl_HTML_file_url="../files/$gsl_filename" ;;