gsl-statique-litterateur/etc/gsl/gsl.conf

137 lines
3.8 KiB
Plaintext
Raw Normal View History

# file: gsl.conf
# Folder: /etc/gsl
# By echolib
# License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
#=======================================================================
# Folders
#=======================================================================
2022-03-27 18:46:48 +02:00
app_name="gsl"
# Librairies
gsl_dir_lib="/var/lib/gsl"
gsl_dir_scripts="$gsl_dir_lib/scripts"
gsl_dir_helps="$gsl_dir_lib/helps"
# Management
gsl_dir_db="$gsl_dir_lib/db"
gsl_dir_global_domains="/var/lib/gsl/domains"
# Logs
gsl_dir_logs="/var/log/gsl"
# User
gsl_dir_user_domains="/home/$USER/.config/gsl/domains"
#=======================================================================
# Files
#=======================================================================
# Logs
gsl_file_logs="$gsl_dir_logs/gsl.log"
# Management
gsl_file_db_domains="$gsl_dir_db/domains.db"
gsl_file_db_posts="$gsl_dir_db/posts.db"
2022-02-19 18:17:09 +01:00
gsl_file_db_files="$gsl_dir_db/files.db"
# Registred Authors filename
gsl_filename_auth="authors.db"
#=======================================================================
# GSL Internal Configuration
#=======================================================================
# minimum size to check a post
2022-04-23 17:51:46 +02:00
gsl_post_min_size=150
2022-04-14 15:49:49 +02:00
# Max Posts list in sidebar
gsl_list_max_posts=5
# Init log datas
gsl_log_e='Err'
gsl_log_w='War'
gsl_log_i='Inf'
#-----------------------------------------------------------------------
# Set LOG help Activity for NEEDED HEADERS
#-----------------------------------------------------------------------
gsl_log_act_title='POST TITLE'
gsl_log_act_author='REGISTRED NAME'
gsl_log_act_info='POST is ABOUT...'
gsl_log_act_slug='POST-TITLE'
2022-02-27 19:16:16 +01:00
gsl_log_act_code='NBR : FILENAME : Alt Text'
gsl_log_act_image='NBR : NAME : ALT TEXT'
gsl_log_act_abbr='SHORT : LONG'
gsl_log_act_h1='#1 POST CONTENT TITLE'
2022-02-27 19:16:16 +01:00
gsl_log_act_link='NAME : URL : Alt Text'
gsl_log_act_file='NAME : FILENAME : Alt Text'
#-----------------------------------------------------------------------
2022-02-27 19:16:16 +01:00
# Set LOG for Process Type
#-----------------------------------------------------------------------
2022-02-27 19:16:16 +01:00
gsl_log_h_link="Header Link"
gsl_log_h_abbr="Header ABBR"
gsl_log_h_code="Header Code"
gsl_log_h_image="Header Image"
gsl_log_h_file="Header File"
gsl_log_h_image="Header Image"
gsl_log_c_h1="Content Begins"
gsl_log_c_p="Content Paragraphs"
gsl_log_c_cite="Content Citations"
gsl_log_c_link="Content Link"
gsl_log_c_abbr="Content ABBR"
gsl_log_c_code="Content Code"
gsl_log_c_image="Content Image"
gsl_log_c_file="Content File"
#-----------------------------------------------------------------------
# Set CONTENT POST markers
#-----------------------------------------------------------------------
gsl_mo_p='('
gsl_mc_p=')'
gsl_mark_file='__'
2022-03-02 14:27:50 +01:00
gsl_mark_image='_image'
gsl_mark_fcode='_code'
gsl_mark_title='#'
gsl_mark_bold='\*'
gsl_mark_strong='\*\*'
gsl_mark_italic='\/'
gsl_mark_code="¤"
2022-02-27 19:16:16 +01:00
gsl_mark_list='='
2022-04-23 17:51:46 +02:00
gsl_mark_listo="+"
gsl_mark_blockquote='---'
gsl_mark_blockquote_cite='_cite :'
gsl_mark_blockquote_year='_year :'
gsl_mark_blockquote_link='_link :'
gsl_mark_blockquote_book='_book :'
gsl_mark_blockquote_lang='_lang :'
#-----------------------------------------------------------------------
# Set HEADERS markers
#-----------------------------------------------------------------------
# type: page / post
gsl_marker_type='type: '
gsl_marker_title='title: '
gsl_marker_slug='slug: '
gsl_marker_info='info: '
gsl_marker_author='author: '
gsl_marker_date='date: '
gsl_marker_tags='tags: '
#Optional (include brut text)
gsl_marker_code='code: '
gsl_marker_image='image: '
gsl_marker_abbr='abbr: '
gsl_marker_link='link: '
gsl_marker_file='file: '
# Delimiters to seet for sed in case exists in inline-code
gsl_d=(\, \. \? \% \# \- \: \^ \/ \_ \| )
2022-03-27 18:46:48 +02:00
# Onlinde Repo
repo="https://git.a-lec.org/echolib/gsl/-/raw/main/usr/local/bin/gsl"
repo_tar="https://git.a-lec.org/echolib/gsl/-/archive/main/gsl-main.tar.gz"