gsl-statique-litterateur/var/lib/gsl/help/how_to-Tips_Advises.md

1006 B

Tips and Advises

Configuration

  • CSS acronym will always be in lower case

ABBR

  • short name (HEADER): must be in CAPS LOCK (abbr: LEC : Libre en communs)
  • short name (CONTENT): must contain a space (" LEC", " LEC ", "LEC ")

Files (Images, codes, scripts...)

You can create sub-directories in DOMAIN/files or DOMAIN/images If you do so, in your article HEADER, set FILENAME with sub-dirs, but do NOT begin with /

# File put in /var/lib/gsl/domains/DOMAIN/images/dir/dir1/pic.png
image: 1 : dir/dir1/pic.png

Images: set style and target

# Open in new tab pic, keep origin sizes
_image:1:+

# Open pic in new tab, using your css class and with width in pixel
# (height is kept)
_image:1:c:640px:+

Make (changes in source file)

If you change the content of a file (script code, image...), you will have to make -F your article, and do www add after

Sidebar

If your remove a www or wip page, and you put it in sidebar, do not forget to replace it with another article