> I learned a lot of Hugo looking as otherโs solutions. Do you have some other theme option for #mkws?
For now I have all the source files also on https://mkws.sh/ and https://adi.onl (s/html/upphtml/g in urls, e.g. https://mkws.sh/index.html https://mkws.sh/index.upphtml, https://mkws.sh/docs.upphtml) maybe @eldersnake could also give you his sources, he was also very satisfied, the other weren't so brave. ๐
I recommend distributing the sources of the website, you can hide sensitive information in environment variables.
> Any thing about internationalization? Make #mkws runs in multiple languages and generate multilanguage content?
Didn't get to that yet! It's not that hard! You could use the https://www.gnu.org/software/gettext/ utilities. I, personally, would/will write a CLI version of https://man.openbsd.org/catgets
> A common practice in SSG is to separate the code/content/siteready. As I understand now, #mkws puts almost everything in the root dir. There is a way to separate those things?
You could do, assuming
mkws
is in your $PATH
, do something like:MKWSTHEMEDIR=/path/to/share/dir mkws https://example.com /path/to/src/dir
It would get you the output in the current directory tho.
You could also just output elsewhere from
bin/mkws
.I however recommend publishing the sources also, keeping sensitive info in ENV vars.=
mkws
is in your $PATH
, do something like:\n\n MKWSTHEMEDIR=/path/to/share/dir mkws https://example.com /path/to/src/dir\n\nIt would get you the output in the current directory tho.\n\nYou could also just output elsewhere from bin/mkws
.\n\nI however recommend publishing the sources also, keeping sensitive info in ENV vars.=
mkws
is in your $PATH
, do something like:\n\n MKWSTHEMEDIR=/path/to/share/dir mkws https://example.com /path/to/src/dir\n\nIt would get you the output in the current directory tho.\n\nYou could also just output elsewhere from bin/mkws
.\n\nI however recommend publishing the sources also, keeping sensitive info in ENV vars.=
.gz
, .br
, uncompressed files tonight so it's a good idea to fix some scripts.
.gz
, .br
, uncompressed files tonight so it's a good idea to fix some scripts.
dv
, live.js
, https.go
nicely some day.
dv
, live.js
, https.go
nicely some day.
live.js
is pretty cool.
live.js
is pretty cool.