Issue #14 I still want, at some point, to add to other formats but this is fine for now. The tool uses pandoc to do the conversion from md to html A sample template (without any styling) is provided. This can be overwritten in $HOME/.config/kb/templates/main.html or in the knowledgebase directory under `templates`.
18 lines
410 B
HTML
18 lines
410 B
HTML
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="generator" content="KB" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
|
$if(Tags)$
|
|
<meta name="keywords" content="$for(Tags)$$Tags$, $endfor$" />
|
|
$endif$
|
|
<title>$Title$</title>
|
|
</head>
|
|
<body>
|
|
|
|
#TOC#
|
|
|
|
$body$
|
|
</body>
|
|
</html>
|