Mercurial Hosting > qwb
changeset 7:d139d86fb4e1 default tip
html in md
| author | Atarwn Gard <a@qwa.su> |
|---|---|
| date | Tue, 17 Mar 2026 23:46:56 +0500 |
| parents | bd0d3a189f5b |
| children | |
| files | README.md qwb.go |
| diffstat | 2 files changed, 3 insertions(+), 30 deletions(-) [+] |
line wrap: on
line diff
--- a/README.md Tue Mar 17 22:36:17 2026 +0500 +++ b/README.md Tue Mar 17 23:46:56 2026 +0500 @@ -1,32 +1,5 @@ # Qwaderton's Website Builder -qwb is a very stripped fork of kew, optimized specificly for x.css - -## conf - -qwb reads `qwb.ini` file in first argument directory -if you run: -``` -$ qwb in/ out/ -``` - -qwb will read configuration from in/qwb.ini - -### ref +warning: the software is at the very early stage of development, breaking changes are shipped alwost with every commit -\[site\] block -**header:** string -**footer:** string -**style:** relative to webroot path -**template:** relative to pwd or absolute path to html file - -## template - -it should contain these placeholders - -{{TITLE}} -{{SITE_TITLE}} -{{FOOTER_TEXT}} -{{CSS}} -{{NAV}} -{{CONTENT}} \ No newline at end of file +qwb is a very distant fork of kew, optimized specificly for x.css
--- a/qwb.go Tue Mar 17 22:36:17 2026 +0500 +++ b/qwb.go Tue Mar 17 23:46:56 2026 +0500 @@ -88,7 +88,7 @@ } func md2html(path string) (string, error) { - cmd := exec.Command("lowdown", "-Thtml", "--html-no-skiphtml") + cmd := exec.Command("lowdown", "-Thtml", "--html-no-skiphtml", "--html-no-escapehtml") f, err := os.Open(path) if err != nil { return "", err
