stakx-io / stakx

An opinionated, powerful, and simple static website generator built in PHP
https://stakx.io/
MIT License
14 stars 3 forks source link

baseurl config and command line option behavior #123

Open redtide opened 2 years ago

redtide commented 2 years ago

System Information

PHP Version:

8.0.11

stakx Version:

0.2.1

Operating System

Archlinux (5.13.13-arch1-1)

Expected behavior

Feature requrest: it could be nice to have also a Jekyll like baseurl option, both for configuration and command line, that doesn't create any prefix directory. It might be adding some baseurl_folder: false yaml option to enable the different behavior and add the related options available from the command line: this is useful to build forks of website repositories without altering the configuration file in git.

Actual behavior

Currently the baseurl option can only be set in the configuration file to create a directory into the destination folder used to contain the built site files.

Steps to reproduce behavior

N.A.