mirror of
https://github.com/seigler/dash-website
synced 2025-07-26 23:06:09 +00:00
added original autor and original link for blogpost
This commit is contained in:
parent
bf9d2d52e9
commit
9d36ad84b9
2 changed files with 17 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
{% if page.author %}
|
||||
<div class="author">
|
||||
{% assign author = site.data.people[page.author] %}
|
||||
|
||||
|
||||
{% if author.image %}
|
||||
<img src="{{ author.image }}" class="author-icon img-circle"><br />
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if author.twitter %}
|
||||
<a rel="author"
|
||||
href="https://twitter.com/{{ author.twitter }}"
|
||||
|
@ -17,7 +17,18 @@
|
|||
title="{{ author.name }}"
|
||||
target="_blank">
|
||||
{% endif %}
|
||||
{{ author.name }}
|
||||
{{ author.name }}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.original-author %}
|
||||
<div class="author">
|
||||
<a
|
||||
href="{{ page.original-link }}"
|
||||
title="{{ page.orginal-author }}"
|
||||
target="_blank">
|
||||
{{ page.original-author }}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue