xfwc

Log | Files | Refs

commit 2ee0039922c8fd1c15b92bf3f0d230d04f72a956
parent ec48282438de6ff36b5242c63f46ace5704dd980
Author: xfnw <xfnw@ttm.sh>
Date:   Fri, 31 Jul 2020 22:43:15 +0000

fix unicode

Diffstat:
Mtemplate/page.html | 1+
Ttemplate/style.css | 0
Mxfss | 2+-
3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/template/page.html b/template/page.html @@ -3,6 +3,7 @@ <head> <meta name="generator" content= "lick simple site"> + <meta charset="UTF-8"> <title>XFSSTITLE</title> <link rel="stylesheet" href="template/style.css"> <meta name="viewport" content="width=device-width, initial-scale=1"> diff --git a/template/style.css b/template/style.css diff --git a/xfss b/xfss @@ -7,7 +7,7 @@ NEWF=${fn%??}html TITLE=$(echo ${fn%???} | sed 's/_/ /g' | sed -e 's/[]$.*[\^]/\\&/g') echo "rendering $NEWF..." -cmark --smart --safe <src/$fn >$BOOPTMP +pandoc --from gfm <src/$fn >$BOOPTMP cp template/page.html $NEWF sed "/<body>/r $BOOPTMP" template/page.html > $NEWF