Created a new global function, zini, the Zsh INI reader. New breaking changes to config.example. Updated qsgen2 using zini and mapped old values to the new ones temporarily.

This commit is contained in:
2024-02-19 19:18:46 +01:00
parent 22be2e4a6d
commit 8b28ce9a96
3 changed files with 80 additions and 24 deletions

View File

@ -1,24 +1,26 @@
# Place this file in your project directory
; Place this file in your project directory
# This is the name of your site
export site_name="The Site Name"
# This is the site tag or subtitle
export site_tagline="The Site Tagline"
export site_url="http://www.example.com"
# At the moment, there is only 1 theme - minimal
export theme=minimal
# This is the directory where you create your pages and blogs.
# Your project working directory
export project_dir=/path/to/your/project
# This is where qsgen2 outputs the parsed and generated files
export www_root=/path/to/output/directory
# Do you want the blog on your front page or not?
# Values are true for yes and false for no
export blog_in_index=false
# Expected values are 'native' or 'markdown'
export generator=native
# Do you want to generate a sitemap.xml file?
export sitemap=true
# Language for messages from qsgen2
# en_US, es_ES, nb_NO
export language=nb_NO
[site]
; This is the name of your site
name = "The Site Name"
; This is the tagline
tagline = "The Site Tagline"
; This is the URL of your site
url = "https://www.example.com"
; This is where your HTML files go
root = /path/to/www/dir
; The theme of your site
theme = theme_name
; sitemap or not: true or false
sitemap = true
; Do you want the blog to appear on the front page
; true = yes and false = no
blog = true
[project]
; This is where you work before you generate the outpu
root = /path/to/working/project
; Languages: en_US, en_UK, es_ES, nb_NO, fr_FR
lang = en_US
; Use QStags (native) or Markdown (markdown)
generator = native