# How to Write a Post ------------------------------------------------------------------------ Post has 2 sections : Before 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. - From #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 ($ 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 : Alt Text image: NBR : FILENAME : ALT-TEXT ``` ## CONTENT Post: In Content Post, markers (i.e. __My Great file) 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 ) Set till 3 different classes with ( 1 ( 2 ( 3 ( 2 This is a paragraph with class 2 ) # Register in Header. link: My Great Link : URL : Alt text _My Great Link _My Great Link+ # Open in new tab # Register in Header. file: My Great file : FILENAME : ALT-TEXT __My Great file # Register in Header. image: 1 : FILENAME : ALT-TEXT __image:1 # Block-Code File: Register in Header. code: 1 : FILENAME : Alt Text __code:1 # Write in STRONG **this strong content** this un**believe**able content this border**line** content # BOLD *this bold content* ... # Write in ITALIC /this em text/ # Inline-code (¤ = alt-gr + $ on FR keyboard) ¤push()¤ # 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 ) --- # For advanced blockquotes, you can also add, if known: _year: 2021 _book: Esperanza 64 ```