Add header in pandoc template
This commit is contained in:
parent
cb2faaf1d5
commit
4e6fb0d879
3
Tupfile
3
Tupfile
|
@ -2,7 +2,10 @@
|
|||
pandoc --from markdown --to html \
|
||||
--template=templates/pandoc.html \
|
||||
--css css/default.css \
|
||||
--include-in-header=templates/header.html \
|
||||
--include-before-body=templates/nav.html \
|
||||
--include-after-body=templates/footer.html \
|
||||
%f --output=%o \
|
||||
|> %B.html
|
||||
|
||||
:foreach favicon.png |> !tup_preserve |>
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
@font-face {
|
||||
font-family: 'Code New Roman';
|
||||
src: url('fonts/code_new_roman.otf');
|
||||
}
|
||||
|
||||
body {
|
||||
width: 800px;
|
||||
font-family: 'Anaheim', sans-serif;
|
||||
font-family: 'CodeNewRomanRegular', sans-serif;
|
||||
margin: 0px auto 0px auto;
|
||||
background-color: #fdf6e3;
|
||||
color: #586e75; /*base01*/
|
||||
|
|
1
files/Tupfile
Normal file
1
files/Tupfile
Normal file
|
@ -0,0 +1 @@
|
|||
:foreach *.pdf |> !tup_preserve |>
|
1
fonts/Tupfile
Normal file
1
fonts/Tupfile
Normal file
|
@ -0,0 +1 @@
|
|||
:foreach *.otf |> !tup_preserve |>
|
|
@ -2,6 +2,7 @@
|
|||
pandoc --from markdown --to html \
|
||||
--template=../../templates/pandoc.html \
|
||||
--css ../../css/default.css \
|
||||
--include-in-header=../../templates/header.html \
|
||||
--include-before-body=../../templates/nav.html \
|
||||
--include-after-body=../../templates/footer.html \
|
||||
%f --output=%o \
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
pandoc --from markdown --to html \
|
||||
--template=../../templates/pandoc.html \
|
||||
--css ../../css/default.css \
|
||||
--include-in-header=../../templates/header.html \
|
||||
--include-before-body=../../templates/nav.html \
|
||||
--include-after-body=../../templates/footer.html \
|
||||
%f --output=%o \
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
pandoc --from markdown --to html \
|
||||
--template=../../templates/pandoc.html \
|
||||
--css ../../css/default.css \
|
||||
--include-in-header=../../templates/header.html \
|
||||
--include-before-body=../../templates/nav.html \
|
||||
--include-after-body=../../templates/footer.html \
|
||||
%f --output=%o \
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
pandoc --from markdown --to html \
|
||||
--template=../../templates/pandoc.html \
|
||||
--css ../../css/default.css \
|
||||
--include-in-header=../../templates/header.html \
|
||||
--include-before-body=../../templates/nav.html \
|
||||
--include-after-body=../../templates/footer.html \
|
||||
%f --output=%o \
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
pandoc --from markdown --to html \
|
||||
--template=../../templates/pandoc.html \
|
||||
--css ../../css/default.css \
|
||||
--include-in-header=../../templates/header.html \
|
||||
--include-before-body=../../templates/nav.html \
|
||||
--include-after-body=../../templates/footer.html \
|
||||
%f --output=%o \
|
||||
|
|
1
templates/header.html
Normal file
1
templates/header.html
Normal file
|
@ -0,0 +1 @@
|
|||
<link rel="icon" type="image/png" href="favicon.png">
|
Loading…
Reference in a new issue