fix: FR Date on sidebar ; sync exclude hidden files
This commit is contained in:
parent
e3ccd2a214
commit
87a1b09d33
|
@ -4,6 +4,11 @@ GSL changes from releases. You can send an issue :
|
||||||
- repo: https://git.a-lec.org/echolib/gsl/-/issues
|
- repo: https://git.a-lec.org/echolib/gsl/-/issues
|
||||||
- Contact xmpp: im@echolib.re
|
- Contact xmpp: im@echolib.re
|
||||||
|
|
||||||
|
## [0.1.7]
|
||||||
|
- fix: FR Date on sidebar
|
||||||
|
- sync: exclude hidden files from templates
|
||||||
|
|
||||||
|
|
||||||
## [0.1.6]
|
## [0.1.6]
|
||||||
- fix: FR date on template only ; replace "-" with "/"
|
- fix: FR date on template only ; replace "-" with "/"
|
||||||
|
|
||||||
|
|
2
control
2
control
|
@ -1,5 +1,5 @@
|
||||||
Package: egsl
|
Package: egsl
|
||||||
Version: 0.1.6
|
Version: 0.1.7
|
||||||
Section: custom
|
Section: custom
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Version: 0.1.6
|
# Version: 0.1.7
|
||||||
# file: gsl
|
# file: gsl
|
||||||
# Folder: /usr/local/bin
|
# Folder: /usr/local/bin
|
||||||
# By echolib (XMPP: im@echolib.re)
|
# By echolib (XMPP: im@echolib.re)
|
||||||
|
|
|
@ -4,6 +4,11 @@ GSL changes from releases. You can send an issue :
|
||||||
- repo: https://git.a-lec.org/echolib/gsl/-/issues
|
- repo: https://git.a-lec.org/echolib/gsl/-/issues
|
||||||
- Contact xmpp: im@echolib.re
|
- Contact xmpp: im@echolib.re
|
||||||
|
|
||||||
|
## [0.1.7]
|
||||||
|
- fix: FR Date on sidebar
|
||||||
|
- sync: exclude hidden files from templates
|
||||||
|
|
||||||
|
|
||||||
## [0.1.6]
|
## [0.1.6]
|
||||||
- fix: FR date on template only ; replace "-" with "/"
|
- fix: FR date on template only ; replace "-" with "/"
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ if [[ `grep -i "fr" <<<"$site_lang"` ]];then
|
||||||
gsl_written="Écrit par"
|
gsl_written="Écrit par"
|
||||||
gsl_about=" À propos de"
|
gsl_about=" À propos de"
|
||||||
gsl_gen="Propulsé par"
|
gsl_gen="Propulsé par"
|
||||||
gsl_the="Le"
|
gsl_the="le"
|
||||||
gsl_by="par"
|
gsl_by="par"
|
||||||
gsl_read="Lire l'article de"
|
gsl_read="Lire l'article de"
|
||||||
gsl_rss_info="Tous les titres de"
|
gsl_rss_info="Tous les titres de"
|
||||||
|
@ -208,6 +208,7 @@ EOMETAS
|
||||||
# $1: file ($sidebar_HTML_item - see above)
|
# $1: file ($sidebar_HTML_item - see above)
|
||||||
#======================================================================
|
#======================================================================
|
||||||
create__HTML_sidebar_item() {
|
create__HTML_sidebar_item() {
|
||||||
|
create__HTML_translation
|
||||||
cat <<EOSIDEBARITEM > "$1"
|
cat <<EOSIDEBARITEM > "$1"
|
||||||
<li class="${site_css}_list-post-item">
|
<li class="${site_css}_list-post-item">
|
||||||
<a href="/$gsl_slug_file"
|
<a href="/$gsl_slug_file"
|
||||||
|
@ -217,7 +218,7 @@ cat <<EOSIDEBARITEM > "$1"
|
||||||
<span class="${site_css}_list-post-title">$article_Title</span>
|
<span class="${site_css}_list-post-title">$article_Title</span>
|
||||||
|
|
||||||
<div class="${site_css}_list-post-metas">
|
<div class="${site_css}_list-post-metas">
|
||||||
$gsl_the $article_Date $gsl_by $article_Author
|
$gsl_the $gsl_date $gsl_by $article_Author
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="${site_css}_list-post-info">
|
<div class="${site_css}_list-post-info">
|
||||||
|
|
|
@ -335,15 +335,15 @@ exit
|
||||||
#======================================================================
|
#======================================================================
|
||||||
# Sync Files from Templates to webserver
|
# Sync Files from Templates to webserver
|
||||||
# $1: process (wip|www|wip+www)
|
# $1: process (wip|www|wip+www)
|
||||||
# $2: Folder
|
# $2: Folder on srv_wip or srv_www
|
||||||
#======================================================================
|
#======================================================================
|
||||||
sync__srv() {
|
sync__srv() {
|
||||||
# Sync Files and Folders
|
# Sync Files and Folders
|
||||||
mkdir -p "$2"
|
mkdir -p "$2"
|
||||||
rsync -a --delete "$gsl_dir_domain_tpl" "$2"
|
rsync -a --delete --exclude ".*" "$gsl_dir_domain_tpl" "$2"
|
||||||
rsync -a --delete "$gsl_dir_domain_files" "$2"
|
rsync -a --delete --exclude ".*" "$gsl_dir_domain_files" "$2"
|
||||||
rsync -a --delete "$gsl_dir_domain_images" "$2"
|
rsync -a --delete --exclude ".*" "$gsl_dir_domain_images" "$2"
|
||||||
rsync -a --delete "$gsl_dir_domain_listings" "$2"
|
rsync -a --delete --exclude ".*" "$gsl_dir_domain_listings" "$2"
|
||||||
|
|
||||||
gsl__logs_print -i -srv $1 \
|
gsl__logs_print -i -srv $1 \
|
||||||
"Sync: $gsl_dir_domain/" \
|
"Sync: $gsl_dir_domain/" \
|
||||||
|
|
Loading…
Reference in New Issue