adjust pandoc
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-12-29 10:47:07 +11:00
parent ba02b56971
commit 1ace119b02
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -48,6 +48,7 @@ $include-before$
$endfor$
$if(title)$
<header id="title-block-header">
<!--
<nav id="$idprefix$TOC">
<a href="/"><img alt="Logo" src="$logo$" height="70"></a>
$if(toc)$
@@ -58,6 +59,7 @@ $if(title)$
</ul>
$endif$
</nav>
-->
<h1 class="title">$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>