linkedin and github link (#27)
* Ref #24 linkedin and github social link in author page and article page -test case for that - BaseTest added * Ref #24 icon to link since linkedin and github is not present * article color fix
This commit is contained in:
parent
7b26ad1013
commit
1e0a56e0d8
7 changed files with 225 additions and 181 deletions
|
@ -20,6 +20,8 @@
|
|||
{% else %}
|
||||
{% set selected_cover = SITEURL+"/"+HEADER_COVER %}
|
||||
{% endif %}
|
||||
{% elif article.color %}
|
||||
{% set selected_color = article.color %}
|
||||
{% elif HEADER_COLOR %}
|
||||
{% set selected_color = HEADER_COLOR %}
|
||||
{% endif %}
|
||||
|
@ -164,12 +166,19 @@
|
|||
{% if AUTHORS_BIO[author.name.lower()].website %}
|
||||
<span class="post-author-website"><a href="{{AUTHORS_BIO[author.name.lower()].website}}"><i class="ic ic-link"></i> Website</a></span>
|
||||
{% endif %}
|
||||
{% if AUTHORS_BIO[author.name.lower()].twitter %}
|
||||
<span class="post-author-twitter"><a target="_blank" href="https://twitter.com/{{AUTHORS_BIO[author.name.lower()].twitter}}"><i class="ic ic-twitter"></i> Twitter</a></span>
|
||||
{% endif %}
|
||||
<!-- Social linkes in alphabet order. -->
|
||||
{% if AUTHORS_BIO[author.name.lower()].facebook %}
|
||||
<span class="post-author-facebook"><a target="_blank" href="https://facebook.com/{{AUTHORS_BIO[author.name.lower()].facebook}}"><i class="ic ic-facebook"></i> Facebook</a></span>
|
||||
{% endif %}
|
||||
{% if AUTHORS_BIO[author.name.lower()].github %}
|
||||
<span class="post-author-github"><a target="_blank" href="https://github.com/{{AUTHORS_BIO[author.name.lower()].github}}"><i class="ic ic-link"></i> GitHub</a></span>
|
||||
{% endif %}
|
||||
{% if AUTHORS_BIO[author.name.lower()].linkedin %}
|
||||
<span class="post-author-linkedin"><a target="_blank" href="https://www.linkedin.com/in/{{AUTHORS_BIO[author.name.lower()].linkedin}}"><i class="ic ic-link"></i> LinkedIn</a></span>
|
||||
{% endif %}
|
||||
{% if AUTHORS_BIO[author.name.lower()].twitter %}
|
||||
<span class="post-author-twitter"><a target="_blank" href="https://twitter.com/{{AUTHORS_BIO[author.name.lower()].twitter}}"><i class="ic ic-twitter"></i> Twitter</a></span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</aside>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue