First success with templating articles into index.html

Markdown works rudimentary. Unfortunately it does not support some features by now maybe due to my poor templating without correct line breaking?
This commit is contained in:
maste9
2015-02-25 07:15:13 +01:00
committed by Homer S
parent bdff627aee
commit 64da3357c1
5 changed files with 156 additions and 25 deletions

View File

@@ -0,0 +1,14 @@
<article>
<header>
<h1>${ARTICLE_TITLE}</h1>
<dl>
<dt>${TEMPLATE_ARTICLE_AUTHOR}</dt><dd>${ARTICLE_AUTHOR}</dd>
<dt>${TEMPLATE_ARTICLE_CREATED}</dt><dd>${ARTICLE_CREATED}</dd>
<dt>${TEMPLATE_ARTICLE_MODIFIED}</dt><dd>${ARTICLE_MODIFIED}</dd>
</dl>
</header>
${ARTICLE_BODY}
<footer>
<p>${ARTICLE_TAGS}</p>
</footer>
</article>