File tree Expand file tree Collapse file tree 7 files changed +19
-61
lines changed
themes/vocabulary_theme/templates Expand file tree Collapse file tree 7 files changed +19
-61
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111 < div class ="container ">
1212 < div class ="columns ">
1313 < 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 >
2117 </ div >
2218 < div class ="column is-8 ">
2319 < h2 > {{ render_author_name(this) }}</ h2 >
Original file line number Diff line number Diff line change @@ -16,15 +16,13 @@ <h2 class="is-paddingless level-left">
1616 {% set author = post.parent.parent.children.get('authors').children.get(post.author) %}
1717 < div class ="column is-one-third is-paddingless padding-horizontal-big padding-top-bigger ">
1818 < article class ="card entry-post horizontal no-border blog-entry ">
19- < header >
20- < figure class ="image blog-image ">
21- {% if author.about %}
22- {% if author.md5_hashed_email %}
23- < img class ="profile " src ="https://secure.gravatar.com/avatar/{{ author.md5_hashed_email }}?size=200 "
24- alt ="gravatar " />
25- {% endif %}
26- {% endif %}
27- </ figure >
19+ {% if author.about %}
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 >
25+ {% endif %}
2826 </ header >
2927 < div class ="blog-content ">
3028 < h4 class ="b-header "> < a class ="blog-title " href ="{{ post|url }} "> {{ post.title }}</ a > </ h4 >
Original file line number Diff line number Diff line change @@ -16,11 +16,9 @@ <h4>CC Open Source Blog</h4>
1616 < h2 class ="title "> {{ this.title }}</ h2 >
1717 {{ check_file('content' + this.parent.parent.path + '/authors/' + this.author + '/contents.lr') }}
1818 < 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 >
2422 < p class ="column "> by < a href ="{{ author|url }} "> {{ render_author_name(author) }}</ a >
2523 on {{ this.pub_date|dateformat("YYYY-MM-dd") }}</ p >
2624 </ div >
Original file line number Diff line number Diff line change 33{% macro render_authors(authors) %}
44 {% for author in site.query(authors.path) %}
55 < 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 %}
116 < 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 " />
138 </ figure >
14- {% endif %}
159 < div class ="author-name ">
1610 < h5 class ="desktop b-header "> < a class ="link " href ="{{ author|url }} "> {{ render_author_name(author) }}</ a > </ h5 >
1711 < 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 77 < div class ="column is-one-third ">
88 < article class ="card entry-post horizontal no-border blog-entry ">
99 {% 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 >
2315 {% endif %}
2416 < div class ="blog-content ">
2517 < 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