Skip to content

Commit bc40891

Browse files
committed
Add support for additional author info in blogs
Signed-off-by: Fanit Kolchina <[email protected]>
1 parent 5b21c3b commit bc40891

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

_layouts/post.html

+7
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ <h1>{{page.title}}</h1>
4545

4646
{%- include author_panel.html author=author linked="true" -%}
4747
{% endfor %}
48+
49+
{% assign additional_author_info = page.additional_author_info | default: '' %}
50+
{% if additional_author_info.size > 0 %}
51+
<div class="additional-author-info">
52+
<p>{{additional_author_info}}</p>
53+
</div>
54+
{% endif %}
4855
</div>
4956
{% endcapture %}
5057

_sass/_opensearch.scss

+6
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,12 @@
210210
}
211211
}
212212

213+
.additional-author-info {
214+
border-top: 1px solid $secondary-sanfrancisco-fog-s2;
215+
margin-top: 2rem;
216+
font-style: italic;
217+
}
218+
213219
.tree, .tree ul {
214220
margin:0;
215221
padding:0;

0 commit comments

Comments
 (0)