changes (CSS, Statoolinfos)
This commit is contained in:
parent
87d14d9514
commit
d196d16505
|
@ -4,6 +4,11 @@ GSL changes from releases. You can send an issue :
|
|||
- repo: https://git.a-lec.org/echolib/gsl/-/issues
|
||||
- Contact xmpp: im@echolib.re
|
||||
|
||||
## [0.0.90]
|
||||
### Changes
|
||||
- Statoolinfos: Genereated with www (add/remove)
|
||||
- CSS div between titles : xxx_content xxx_content-hX
|
||||
|
||||
## [0.0.9]
|
||||
|
||||
## Please, see help (and documentations in help folder)
|
||||
|
|
2
control
2
control
|
@ -1,5 +1,5 @@
|
|||
Package: egsl
|
||||
Version: 0.0.9
|
||||
Version: 0.0.90
|
||||
Section: custom
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
|
|
|
@ -17,7 +17,7 @@ X is 1 to 6
|
|||
|
||||
### div between titles
|
||||
X is 1 to 6 from current title
|
||||
- xxx_content_hX
|
||||
- xxx_content xxx_content-hX
|
||||
|
||||
### Between markers (code, emphasis, strong...)
|
||||
- bold: xxx_bold
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## [0.0.9]
|
||||
## [0.0.90]
|
||||
|
||||
## Please, see help (and documentations in help folder)
|
||||
|
||||
|
@ -115,6 +115,7 @@
|
|||
- articles are sorted from epoch date (in DB) with false time at check
|
||||
|
||||
### Statoolinfos (added properties for www status)
|
||||
- Genereated at each www (add/remove)
|
||||
- gsl.articles
|
||||
- gsl.articles.pages
|
||||
- gsl.articles.posts
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
# Version: 0.0.9
|
||||
# Version: 0.0.90
|
||||
# file: gsl
|
||||
# Folder: /usr/local/bin
|
||||
# By echolib (XMPP: im@echolib.re)
|
||||
|
@ -146,7 +146,7 @@ case "$1" in
|
|||
sidebar|-S) sidebar__OPTIONS "$2" "$3" "$4" ;;
|
||||
www) srv__OPTIONS "$1" "$2" "$3" ;;
|
||||
wip) srv__OPTIONS "$1" "$2" "$3" ;;
|
||||
stats) stats__datas ;;
|
||||
stats) stats__datas;exit ;;
|
||||
*) gsl help; exit ;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@ GSL changes from releases. You can send an issue :
|
|||
- repo: https://git.a-lec.org/echolib/gsl/-/issues
|
||||
- Contact xmpp: im@echolib.re
|
||||
|
||||
## [0.0.90]
|
||||
### Changes
|
||||
- Statoolinfos: Genereated with www (add/remove)
|
||||
- CSS div between titles : xxx_content xxx_content-hX
|
||||
|
||||
## [0.0.9]
|
||||
|
||||
## Please, see help (and documentations in help folder)
|
||||
|
|
|
@ -17,7 +17,7 @@ X is 1 to 6
|
|||
|
||||
### div between titles
|
||||
X is 1 to 6 from current title
|
||||
- xxx_content_hX
|
||||
- xxx_content xxx_content-hX
|
||||
|
||||
### Between markers (code, emphasis, strong...)
|
||||
- bold: xxx_bold
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## [0.0.9]
|
||||
## [0.0.90]
|
||||
|
||||
## Please, see help (and documentations in help folder)
|
||||
|
||||
|
@ -115,6 +115,7 @@
|
|||
- articles are sorted from epoch date (in DB) with false time at check
|
||||
|
||||
### Statoolinfos (added properties for www status)
|
||||
- Genereated at each www (add/remove)
|
||||
- gsl.articles
|
||||
- gsl.articles.pages
|
||||
- gsl.articles.posts
|
||||
|
|
|
@ -1108,7 +1108,7 @@ while IFS=: read -r "ln" "content"
|
|||
do
|
||||
(( n++ ))
|
||||
tn=${content:2:1}
|
||||
div_title="<div class=\"${site_css}_content_h$tn\">"
|
||||
div_title="<div class=\"${site_css}_content ${site_css}_content-h$tn\">"
|
||||
sed -i "$(( ln + n ))i$div_title" "$1"
|
||||
done < <(grep "^<h" -n "$1")
|
||||
|
||||
|
|
|
@ -113,6 +113,7 @@ case "$1" in
|
|||
|
||||
DB__set_status "www-del"
|
||||
fi
|
||||
stats__datas # Statoolinfos
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
@ -146,6 +147,7 @@ else
|
|||
"Article validated online" \
|
||||
"$gsl_srv_post_www" && \
|
||||
DB__set_status "www"
|
||||
stats__datas # Statoolinfos
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -93,7 +93,6 @@ gsl_articles.images = $stats_articles_max_images_www
|
|||
EOSTATS
|
||||
|
||||
echo "# Statoolinfos: $gsl_file_sti"
|
||||
exit
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue