use title in template
This commit is contained in:
parent
9aba585da8
commit
9dcb016b71
9 changed files with 26 additions and 9 deletions
2
build.sh
2
build.sh
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
find . -iname "*.md" -type f -exec sh -c 'pandoc -s -f commonmark -t html --template=src/template.html -o "${0%.md}.html" "${0}"' {} \;
|
||||
find . -iname "*.md" -type f -exec sh -c 'pandoc -s -f markdown -t html --template=src/template.html -o "${0%.md}.html" "${0}"' {} \;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Managing stripped GPG keys
|
||||
---
|
||||
title: Managing stripped GPG keys
|
||||
...
|
||||
|
||||
*2017-12-03*
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# My $HOME
|
||||
---
|
||||
title: My $HOME
|
||||
...
|
||||
|
||||
*2018-09-03*
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Blogs
|
||||
---
|
||||
title: Blogs
|
||||
...
|
||||
|
||||
- [Managing stripped GPG keys](gpg/)
|
||||
- [My $HOME](home-layout/)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# dadada
|
||||
---
|
||||
title: dadada
|
||||
...
|
||||
|
||||
**Welcome to my personal homepage ;-)**
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Projects
|
||||
---
|
||||
title: Projects
|
||||
...
|
||||
|
||||
See also my [GitHub](https://github.com/dadada) and [Gitlab](https://gitlab.com/dadada_).
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Talks
|
||||
---
|
||||
title: Talks
|
||||
...
|
||||
|
||||
- [systemd.generator(7)](systemd.generator/)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# systemd.generator(7)
|
||||
---
|
||||
title: systemd.generator(7)
|
||||
...
|
||||
|
||||
*2019-03-14*
|
||||
|
||||
|
|
|
@ -3,9 +3,12 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="author" content="dadada" />
|
||||
<title>dadada</title>
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
</head>
|
||||
<body>
|
||||
$if(title)$
|
||||
<h1>$title$</h1>
|
||||
$endif$
|
||||
$body$
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue