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:
14
picoblogger/blog/templates/article.htm
Normal file
14
picoblogger/blog/templates/article.htm
Normal 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>
|
||||
Reference in New Issue
Block a user