# How to Write a Post Post has 2 sections : Vefore and after #1. #1 is the FIRST Title of your post. #(1-6) are HTML titles (

to

). - Before #1 is used to set METAs HEADERS to configure your Post. - After #1 is the CONTENT of your Post ## NEEDED HEADERS (before #1) Register METAs for HTML Page content ``` title: POST TITLE slug: POST-TITLE (if space in slug GSL will convert them) info: DESCRIPTION (about the Post) author: NAME (must be registred with $ gsl author add) date: YYYY-MM-DD tags: TAG1,OTHER TAG2,TAG3 (comma separated) ``` ### Admin Header Admin can define specific type of content. If no type defined, GSL will add at first line the default value: "type: post". TYPE: - post < classic content - page < used to define main index, 404, about... ``` type: TYPE ``` GSL will create html file according to slug. Do not add .html to slug. - post < /slug/index.html - page < /slug.html ## Optional HEADERS (before #1) Register METAs for CONTENT. " : " field separator ``` abbr: SHORT : LONG file: NAME : FILENAME : ALT-TEXT link: NAME : URL : ALT-TEXT code: NBR : FILENAME image: NBR : FILENAME : ALT-TEXT ``` ## CONTENT Post: In Content Post, markers (i.e. [_,_],*_,_*...) must be on the SAME line. For ABBRs, just write SHORT in your content ``` # Paragraphs At begining of new line, open with ( and close with ) ( This is a paragraph ) # Register in Header. link: My Great link : URL : ALT-TEXT [_My Great Link_] # Write in ITALIC /_this em text_/ # Write in STRONG **_this strong content_** # BOLD *_this bold content_* # Register in Header. file: My Great file : FILENAME : ALT-TEXT <_My Great file_> # Inline-code (¤ = alt-gr + $ on FR keyboard) ¤_push()_¤ # Lists => list 1 ==> sublist 1 ===> sub-sublist 1 => list 2 # Simple Blockquote --- ( A simple great quote ) --- # Advanced Blockquote --- _cite : Richard Matthew Stallman _link : https://stallman.org/ _lang : en ( In the free/libre software movement, we develop software that respects users' freedom, so we and you can escape from software that doesn't. I could have made money this way, and perhaps amused myself writing code. But I knew that at the end of my career, I would look back on years of building walls to divide people, and feel I had spent my life making the world a worse place ) --- # Register in Header. image: 1 : FILENAME : ALT-TEXT _image_ : 1 # Block-Code File: Register in Header. code: 1 : FILENAME _code_ : 1 ```