File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,18 @@ <h2 class="mb-0">{{ this.title }}</h2>
6
6
< p class ="meta text-muted mt-0 "> by < a href ="/blog/authors/{{ this.author }} "> {{ this.author }}</ a >
7
7
on {{ this.pub_date|dateformat('EEEE, yyyy ''MMMM d') }}</ p >
8
8
< div class ="body "> {{ this.body }}</ div >
9
- < hr >
10
- < p class ="meta mt-0 mb-0 "> < span class ="text-muted "> Categories: </ span >
11
- {% if this.categories|length %}
12
- {% for category in this.categories %}
13
- {{ check_file('content' + this.parent.parent.path + '/categories/' + category + '/contents.lr') }}
14
- < a href =" {{ this.parent.parent.path + '/categories/' + category }} "> {{ category }}</ a > {{ "," if not loop.last }}
15
- {% endfor %}
16
- {% else %}
17
- none
18
- {% endif %}</ p >
9
+ < div class ="card bg-light ">
10
+ < div class ="card-body p-2 ">
11
+ < p class ="meta my-0 "> < span class ="mr-2 "> < strong > Categories:</ strong > </ span >
12
+ {% if this.categories|length %}
13
+ {% for category in this.categories %}
14
+ {{ check_file('content' + this.parent.parent.path + '/categories/' + category + '/contents.lr') }}
15
+ < a href =" {{ this.parent.parent.path + '/categories/' + category }} "> {{ category }}</ a > {{ "," if not loop.last }}
16
+ {% endfor %}
17
+ {% else %}
18
+ none
19
+ {% endif %}
20
+ </ p >
21
+ </ div >
22
+ </ div >
19
23
{% endblock %}
You can’t perform that action at this time.
0 commit comments