From 1ace119b02603175ec50032b97a24c80cb5e0876 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 29 Dec 2023 10:47:07 +1100 Subject: [PATCH] adjust pandoc --- .drone.yml | 2 +- template.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 281c61e..b04132f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,7 @@ steps: commands: #- pandoc --standalone --output=index.html --metadata title="SMT Readme" -t html5 README.md # From https://gitlab.com/vimalkvn/pandoc-mvp-css - - pandoc -s README.md --toc --toc-depth=2 -c www/mvp.css --template template.html -o ./www/index.html --metadata title="SMT Readme" + - pandoc -s README.md --embed-resources -c www/mvp.css --template template.html -o ./www/index.html --metadata title="SMT Readme" - cp ./www/index.html /shared/index.html - name: build diff --git a/template.html b/template.html index 95c2cd5..d245298 100644 --- a/template.html +++ b/template.html @@ -48,6 +48,7 @@ $include-before$ $endfor$ $if(title)$
+

$title$

$if(subtitle)$

$subtitle$