blob: 6bad4628e2680021a2981d5009be1159daed4909 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{% extends "base.html" %}
{% block title %}Blogs {% endblock %}
{% block css %}
<style type="text/css">
.container {
height: 100vh;
}
.blog_year {
font-weight: bold;
font-size: 48px;
padding: 12px 10px;
}
.blog_title {
padding: 10px 15px;
}
.blog_title a {
font-size: 1.3em;
padding-left: 10px;
letter-spacing: 0.07em;
text-decoration: underline;
}
</style>
<link rel="stylesheet" type="text/css" href="/static/new/css/markdown.css" />
{% endblock %}
{% block content %}
<div id="markdown" class="container">
<div>
{% for year, year_blogs in blogs.items() %}
<div class="blog_year">
<h3>{{year}}</h3>
</div>
{%for blog in year_blogs%}
<div>
<div class="blog_title">
<ul>
<li>
<a href="{{ url_for('blogs_blueprint.display_blog',blog_path = blog.full_path)}}">{{blog['subtitle']}}</a>
</li>
</ul>
</div>
</div>
{% endfor %}
{%endfor%}
</div>
</div>
{% endblock %}
|