sc0ttj / mdsh

A simple static site generator, using Markdown and Bash
https://sc0ttj.github.io/mdsh/
10 stars 0 forks source link

Easier setup #21

Closed sc0ttj closed 5 years ago

sc0ttj commented 5 years ago

Current procedure:

Preferred procedure:

The preferred setup method should ideally not tie users into using GitHub or git.. (using a gh-pages branch not required fot GitLab, checking out branches generally not required if not using git.)

So, ideally users would do something like:

sc0ttj commented 5 years ago

This will need a server script that checks $blog_url, and if it is

Explanation

The local web server always needs to run from the dir that mdsh considers the web root.

sc0ttj commented 5 years ago

Easy option is to use a $blog_webroot var in .site_config.. but user then needs to know how to set it... and might get it wrong.

sc0ttj commented 5 years ago

https://github.com/sc0ttj/mdsh/pull/51

sc0ttj commented 5 years ago

done