File tree 2 files changed +16
-11
lines changed
2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,9 @@ social_icons:
109
109
# Title: http://example.com/
110
110
111
111
# Sidebar Avatar
112
- # in theme directory(source/images): /images/avatar.jpg
113
- # in site directory(source/uploads): /uploads/avatar.jpg
114
- # avatar:
112
+ # in theme directory(source/images): /images/avatar.gif
113
+ # in site directory(source/uploads): /uploads/avatar.gif
114
+ # avatar: /images/avatar.gif
115
115
116
116
# Table Of Contents in the Sidebar
117
117
toc :
Original file line number Diff line number Diff line change 28
28
29
29
<section class="site-overview sidebar-panel{% if not display_toc or toc(page.content).length <= 1 %} sidebar-panel-active{% endif %}">
30
30
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
31
- <img class="site-author-image" itemprop="image"
32
- src="{{ url_for( theme.avatar | default(theme.images + '/avatar.gif') ) }}"
33
- alt="{{ theme.author }}" />
34
- <p class="site-author-name" itemprop="name">{{ theme.author }}</p>
35
- {% if theme.seo %}
36
- <p class="site-description motion-element" itemprop="description">{{ theme.signature }}</p>
37
- {% else %}
38
- <p class="site-description motion-element" itemprop="description">{{ theme.description }}</p>
31
+ {% if theme.avatar %}
32
+ <img class="site-author-image" itemprop="image"
33
+ src="{{ url_for( theme.avatar | default(theme.images + '/avatar.gif') ) }}"
34
+ alt="{{ theme.author }}" />
39
35
{% endif %}
36
+ <p class="site-author-name" itemprop="name">{{ theme.author }}</p>
37
+ <p class="site-description motion-element" itemprop="description">{#
38
+ #}{% if theme.seo %}{#
39
+ #}{{ theme.signature }}{#
40
+ #}{% else %}{#
41
+ #}{{ theme.description }}{#
42
+ #}{% endif %}{#
43
+ #}</p>
40
44
</div>
45
+
41
46
<nav class="site-state motion-element">
42
47
43
48
{% if config.archive_dir != '/' and site.posts.length > 0 %}
You can’t perform that action at this time.
0 commit comments