File tree 3 files changed +16
-6
lines changed
3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,10 @@ <h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
14
14
</ a >
15
15
{% if forloop.last == false %}, {% endif %}
16
16
{% else %}
17
- {{ author_name }}
17
+ < img
18
+ src ="{{ post.avatar }} "
19
+ alt ="{{ author.name }} " class ="author-image " />
20
+ {{ author_name | markdownify | remove: '< p > ' | remove: '</ p > ' | strip_newlines}}
18
21
{% endif %}
19
22
{% endfor %}
20
23
{% endif %}
Original file line number Diff line number Diff line change @@ -13,11 +13,17 @@ <h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
13
13
< span itemprop ="author " itemscope itemtype ="http://schema.org/Person ">
14
14
{% assign author = site.data.contributors | where: "name", author_name | first %}
15
15
{% assign author_link = author.name | replace: " ", "" | prepend: "/team/" %}
16
- < a href =" {{ author_link }} " itemprop =" url " >
17
- < img src ="{% if author.photo %}{{ site.baseurl }}/images/team/{{ author.photo }}{% else %}{{ site.baseurl }}/images/team/defaultDP.png{% endif %} "
16
+ {% if page.avatar %}
17
+ < img src ="{% if page.avatar %} {{ page.avatar }} {% else %}{% if author.photo %}{{ site.baseurl }}/images/team/{{ author.photo }}{% else %}{{ site.baseurl }}/images/team/defaultDP.png{% endif %} {% endif %} "
18
18
alt ="{{ author_name }} " class ="author-image " />
19
- < span itemprop ="name "> {{ author_name }}</ span >
20
- </ a >
19
+ < span itemprop ="name "> {{ author_name | markdownify | remove: '< p > ' | remove: '</ p > ' | strip_newlines }}</ span >
20
+ {% else %}
21
+ < a href ="{{ author_link }} " itemprop ="url ">
22
+ < img src ="{% if author.photo %}{{ site.baseurl }}/images/team/{{ author.photo }}{% else %}{{ site.baseurl }}/images/team/defaultDP.png{% endif %} "
23
+ alt ="{{ author_name }} " class ="author-image " />
24
+ < span itemprop ="name "> {{ author_name | markdownify | remove: '< p > ' | remove: '</ p > ' | strip_newlines }}</ span >
25
+ </ a >
26
+ {% endif %}
21
27
{% if forloop.last == false %} , {% endif %}
22
28
</ span >
23
29
{% endfor %} {% endif %}
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ and how it uses Clang and CppInterOp to stand out from the pack.
6
6
Discover how Clojure users develop and how jank brings that to
7
7
the native world."
8
8
sitemap : false
9
- author : Jeaye Wilkerson
9
+ author : " [Jeaye Wilkerson](https://github.com/jeaye)"
10
+ avatar : https://avatars.githubusercontent.com/u/1057635
10
11
permalink : blogs/jank_intro/
11
12
banner_image : /images/blog/jank_intro/logo.png
12
13
date : 2024-12-20
You can’t perform that action at this time.
0 commit comments