File tree 2 files changed +22
-22
lines changed
2 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 4
4
< ul class ="post-content pl-0 pb-1 ml-1 mt-2 ">
5
5
6
6
{% for external_link in site.data.external_links %}
7
- < li > < a href ="{{ external_link.link }} " target ="_blank ">
7
+ < li > < a href ="{{ external_link.link }} " target ="_blank " rel =" noopener " >
8
8
{% if external_link.automatic_name %}
9
9
{% if external_link.use_iconfont %}
10
10
< i class ="iconfont {{ external_link.icon }} "> </ i >
Original file line number Diff line number Diff line change 5
5
6
6
< div id ="post-list ">
7
7
{% for subdomain in site.data.subdomain %}
8
- < a href ="{{ subdomain.link }} " target ="_blank ">
9
- < div class ="card post-preview flex-md-row-reverse ">
10
- < div class ="card-body d-flex flex-column ">
11
- < h1 class ="card-title my-2 mt-md-0 ">
12
- {% if subdomain.icon %}
13
- < div class ="subdomain-icon ">
14
- < img src ="/assets/img/subdomain/{{ subdomain.icon }} " alt ="{{ subdomain.icon }} " />
15
- </ div >
16
- {% endif %}
17
- < div class ="subdomain-title ">
18
- {{ subdomain.title }}
19
- </ div >
20
- </ h1 >
21
- < div class ="card-text post-content mt-0 mb-2 ">
22
- < p >
23
- {{ subdomain.description }}
24
- </ p >
8
+ < article class ="card-wrapper ">
9
+ < a href ="{{ subdomain.link }} " class ="card post-preview flex-md-row-reverse " target ="_blank " rel ="noopener ">
10
+ < div class ="card-body d-flex flex-column ">
11
+ < h1 class ="card-title my-2 mt-md-0 ">
12
+ {% if subdomain.icon %}
13
+ < div class ="subdomain-icon ">
14
+ < img src ="/assets/img/subdomain/{{ subdomain.icon }} " alt ="{{ subdomain.icon }} " />
25
15
</ div >
26
- < div class ="post-meta flex-grow-1 d-flex align-items-end subdomain-a ">
27
- ▶ {{ subdomain.link }}
16
+ {% endif %}
17
+ < div class ="subdomain-title ">
18
+ {{ subdomain.title }}
28
19
</ div >
20
+ </ h1 >
21
+ < div class ="card-text content mt-0 mb-2 ">
22
+ < p >
23
+ {{ subdomain.description }}
24
+ </ p >
29
25
</ div >
30
- </ div >
31
- </ a >
26
+ < div class ="post-meta flex-grow-1 d-flex align-items-end subdomain-a ">
27
+ ▶ {{ subdomain.link }}
28
+ </ div >
29
+ </ div >
30
+ </ a >
31
+ </ article >
32
32
{% endfor %}
33
33
</ div >
You can’t perform that action at this time.
0 commit comments