# _kewt_ ### Pronounced "cute" # [Go to the repo](https://git.krzak.org/N0VA/kewt) _kewt_ is a minimalist ssg inspired by _[werc](http://werc.cat-v.org/)_ and _[kew](https://github.com/uint23/kew)_ It's meant to be a static site generator, like _[kew](https://github.com/uint23/kew)_ but use only default (POSIX) tooling, like _[werc](http://werc.cat-v.org/)_ (and definitely unlike _[kew](https://github.com/uint23/kew)_) ## Features - No dependencies - Supports many embed types - Automatic css variable replacement for older browsers - Automatic inlining and embedding of many filetypes with `\![link]` or `\![alt](link)` - Inline html support - MFM `$font` and `\` tags - Admonition support (that's what the blocks like the warning block below are called) If you want to **force** a file to be inlined, use `\!![]` instead of `\![]` ## Usage ```sh ./kewt.sh --help ./kewt.sh --new [title] ./kewt.sh --from --to ./kewt.sh [src] [out] ``` `--new [title]` creates a new site directory with a copied `site.conf` and a default `index.md`. ## site.conf ```conf title = "kewt" style = "kewt" dir_indexes = true single_file_index = true flatten = false order = "" home_name = "Home" show_home_in_nav = true nav_links = "" nav_extra = "" footer = "made with kewt" logo = "" display_logo = false display_title = true logo_as_favicon = true favicon = "" ``` - `title` site title - `style` style file name from `./styles` (without `.css`) - `dir_indexes` generate directory index pages when missing `index.md` - `single_file_index` if a directory has one markdown file and no `index.md`, use that file as `index.html` - `flatten` flatten sidebar directory levels - `order` comma separated file/directory name list to order the sidebar (alphabetical by default) - `home_name` text for the home link in navigation (default: "Home") - `show_home_in_nav` show home link in navigation (default: true) - `nav_links` comma separated extra nav links, as bare URLs or Markdown links like `[Label](https://example.com)` - `nav_extra` raw HTML appended inside the `