init commit
This commit is contained in:
commit
edc0dd01e8
20 changed files with 2920 additions and 0 deletions
18
templates/blog.html
Normal file
18
templates/blog.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<h1>Blog</h1>
|
||||
|
||||
{% for blog in blogs %}
|
||||
<div style="display:flex;justify-content:space-around; padding-bottom: 5px;">
|
||||
<p style="margin-bottom: 0px; padding-right: 8px;">
|
||||
<a
|
||||
{% if blog.url.contains("https://") %}
|
||||
href="{{ blog.url }}"
|
||||
{% else %}
|
||||
href="/blogs/{{ blog.url }}"
|
||||
{% endif %}
|
||||
>
|
||||
[ {{ blog.title }} ]
|
||||
</a></p>
|
||||
<div style="flex-grow: 1; border-bottom: 1px dotted black;"></div>
|
||||
<p style="margin-bottom: 0px; padding-left: 8px;"><i>{{ blog.date }}</i></p>
|
||||
</div>
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue