diff --git a/control b/control index 54e8112..0e88048 100644 --- a/control +++ b/control @@ -1,5 +1,5 @@ Package: egsl -Version: 0.0.6 +Version: 0.0.7 Section: custom Priority: optional Architecture: all diff --git a/usr/local/bin/gsl b/usr/local/bin/gsl index d57999c..d48e807 100755 --- a/usr/local/bin/gsl +++ b/usr/local/bin/gsl @@ -1,5 +1,5 @@ #!/bin/bash -# Version: 0.0.6 +# Version: 0.0.7 # file: gsl # Folder: /usr/local/bin # By echolib diff --git a/var/lib/gsl/scripts/gsl__page_creator b/var/lib/gsl/scripts/gsl__page_creator index 5973a10..070fdc8 100644 --- a/var/lib/gsl/scripts/gsl__page_creator +++ b/var/lib/gsl/scripts/gsl__page_creator @@ -18,7 +18,9 @@ gsl__page_creator() { gsl__check_templates gsl__html_meta_head gsl__page_create -cat -n "$gsl_srv_wip_page" + +# Show html result in terminal +#cat -n "$gsl_srv_wip_page" } #====================================================================== @@ -142,9 +144,15 @@ cat `ls -1r "$gsl_dir_domain_listings/"*.list.*` \ # Create HTML List from selected Post #====================================================================== gsl__page_listing_create_file() { +# Set HTML Base Link +case "$gsl_post_type" in + post) gsl_bpost_url="$gsl_header_slug/index.html" ;; + page) gsl_bpost_url="$gsl_header_slug.html" ;; +esac + cat << EOPostSide > "$1"