Fix #1 : Better CSS

This commit is contained in:
Alexis Hassler
2019-05-04 18:37:29 +02:00
parent 460d7e3ef4
commit be7a29f8ae
17 changed files with 310 additions and 669 deletions

View File

@@ -1,14 +1,14 @@
{% if page.author %}
<div class="generated-sidebar portlet" id="p-author" role="author">
<h3>{{ site.data.i18n[site.lang].label.author }}</h3>
{%- if page.author -%}
<div id="author" class="portlet">
<div class="portlet-body">
{% assign author = site.data.users[page.author] %}
{%- 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>
<li><a href="/{{ site.data.i18n[site.lang].prefix.user }}{{ page.author }}">{{ author.name }}</a></li>
</ul>
{% if author.logo %}
{%- if author.logo -%}
<img src="/{{ author.logo }}" style="max-width: 100%;margin: 3px" />
{% endif %}
{%- endif -%}
</div>
<h3>{{ site.data.i18n[site.lang].label.author }}</h3>
</div>
{% endif %}
{%- endif -%}