feat: ✨ added first draft of Database based website rendering
Some checks failed
/ phplint (push) Failing after 3s
Some checks failed
/ phplint (push) Failing after 3s
This commit is contained in:
parent
5bcba0b689
commit
fcc42bde20
4 changed files with 171 additions and 23 deletions
19
www/templates/generic_markdown_post.html
Normal file
19
www/templates/generic_markdown_post.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
{% extends "root.html" %}
|
||||
|
||||
{% block second_title %}
|
||||
<h2> Abouts </h2>
|
||||
{% endblock %}
|
||||
|
||||
{%block main_content%}
|
||||
<article>
|
||||
{{ include('about.md')|markdown_to_html }}
|
||||
</article>
|
||||
|
||||
<ul>
|
||||
{% for subpost in subposts %}
|
||||
<li> {{ subpost.title }} </li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{%endblock%}
|
Loading…
Add table
Add a link
Reference in a new issue