mirror of
https://github.com/clockworkpi/wiki.clockworkpi.com.git
synced 2026-03-19 02:12:40 +01:00
First version
This commit is contained in:
14
_includes/user.html
Normal file
14
_includes/user.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% if page.author %}
|
||||
<div class="generated-sidebar portlet" id="p-author" role="author">
|
||||
<h3>{{ site.data.i18n[site.lang].label.author }}</h3>
|
||||
<div class="portlet-body">
|
||||
{% assign author = site.data.users[page.author] %}
|
||||
<ul>
|
||||
<li><a href="/{{ site.data.i18n[site.lang].prefix.user }}{{ page.author }}.html">{{ author.name }}</a></li>
|
||||
</ul>
|
||||
{% if author.logo %}
|
||||
<img src="/{{ author.logo }}" style="max-width: 100%;margin: 3px" />
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user