aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/blogs_list.html
blob: a80fa88548c136bcfffb4fcdb6115dee3c15061c (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 "index_page.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('gn_docs_blueprint.display_blog',blog_path = blog.full_path)}}">{{blog['subtitle']}}</a>
                    </li>
                </ul>
            </div>
        </div>
        {% endfor %}
        {%endfor%}
    </div>
</div>
{% endblock %}