File tree 6 files changed +17
-55
lines changed
themes/vocabulary_theme/templates
6 files changed +17
-55
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
< div class ="container ">
12
12
< div class ="columns ">
13
13
< div class ="column is-2 ">
14
- {% if this.about %}
15
- {% if this.md5_hashed_email %}
16
- < figure class ="image profile ">
17
- < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ this.md5_hashed_email }}?size=200 ">
18
- </ figure >
19
- {% endif %}
20
- {% endif %}
14
+ < figure class ="image profile ">
15
+ < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ this.md5_hashed_email }}?size=200&d=mp " alt ="gravatar ">
16
+ </ figure >
21
17
</ div >
22
18
< div class ="column is-8 ">
23
19
< h2 > {{ render_author_name(this) }}</ h2 >
Original file line number Diff line number Diff line change @@ -17,19 +17,11 @@ <h2 class="is-paddingless level-left">
17
17
< div class ="column is-one-third is-paddingless padding-horizontal-big padding-top-bigger ">
18
18
< article class ="card entry-post horizontal no-border blog-entry ">
19
19
{% if author.about %}
20
- {% if author.md5_hashed_email %}
21
- < header >
22
- < figure class ="image blog-image ">
23
- < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200 " alt ="gravatar " />
24
- </ figure >
25
- </ header >
26
- {% else %}
27
- < header >
28
- < figure class ="image blog-image ">
29
- < img class ="profile " src ="./blank_profile.svg " alt ="gravatar " />
30
- </ figure >
31
- </ header >
32
- {% endif %}
20
+ < header >
21
+ < figure class ="image blog-image ">
22
+ < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200&d=mp " alt ="gravatar " />
23
+ </ figure >
24
+ </ header >
33
25
{% endif %}
34
26
</ header >
35
27
< div class ="blog-content ">
Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ <h4>CC Open Source Blog</h4>
16
16
< h2 class ="title "> {{ this.title }}</ h2 >
17
17
{{ check_file('content' + this.parent.parent.path + '/authors/' + this.author + '/contents.lr') }}
18
18
< div class ="author columns is-marginless ">
19
- {% if author.md5_hashed_email %}
20
- < figure class ="image profile ">
21
- < img src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200 " alt ="gravatar " class ="profile " />
22
- </ figure >
23
- {% endif %}
19
+ < figure class ="image profile ">
20
+ < img src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200&d=mp " alt ="gravatar " class ="profile " />
21
+ </ figure >
24
22
< p class ="column "> by < a href ="{{ author|url }} "> {{ render_author_name(author) }}</ a >
25
23
on {{ this.pub_date|dateformat("YYYY-MM-dd") }}</ p >
26
24
</ div >
Original file line number Diff line number Diff line change 3
3
{% macro render_authors(authors) %}
4
4
{% for author in site.query(authors.path) %}
5
5
< div class ="author column is-6-mobile is-2-desktop ">
6
- {% if author.md5_hashed_email %}
7
- < figure class ="image profile ">
8
- < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200 " alt ="gravatar " />
9
- </ figure >
10
- {% else %}
11
6
< figure class ="image profile ">
12
- < img class ="profile " src ="../../../blank_profile.svg " alt ="gravatar " />
7
+ < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200&d=mp " alt ="gravatar " />
13
8
</ figure >
14
- {% endif %}
15
9
< div class ="author-name ">
16
10
< h5 class ="desktop b-header "> < a class ="link " href ="{{ author|url }} "> {{ render_author_name(author) }}</ a > </ h5 >
17
11
< h6 class ="mobile b-header "> < a class ="link " href ="{{ author|url }} "> {{ render_author_name(author) }}</ a > </ h6 >
Original file line number Diff line number Diff line change 7
7
< div class ="column is-one-third ">
8
8
< article class ="card entry-post horizontal no-border blog-entry ">
9
9
{% if author.about %}
10
- {% if author.md5_hashed_email %}
11
- < header >
12
- < figure class ="image blog-image ">
13
- < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200 " alt ="gravatar " />
14
- </ figure >
15
- </ header >
16
- {% else %}
17
- < header >
18
- < figure class ="image blog-image ">
19
- < img class ="profile " src ="../../../blank_profile.svg " alt ="gravatar " />
20
- </ figure >
21
- </ header >
22
- {% endif %}
10
+ < header >
11
+ < figure class ="image blog-image ">
12
+ < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200&d=mp " alt ="gravatar " />
13
+ </ figure >
14
+ </ header >
23
15
{% endif %}
24
16
< div class ="blog-content ">
25
17
< h4 class ="b-header "> < a class ="blog-title " href ="{{ post|url }} "> {{ post.title }}</ a > </ h4 >
You can’t perform that action at this time.
0 commit comments