fix: convert link files +media link > 0.0.7
This commit is contained in:
parent
00d3a3cd01
commit
9c876741f2
|
@ -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" ;;
|
||||
|
|
Loading…
Reference in New Issue