mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Adding optional LINKS & SUPPORTS in base.html
This commit is contained in:
parent
484a5ad227
commit
173712c666
@ -1,4 +1,4 @@
|
||||
html, h1 {
|
||||
html, h1, h2, h3 {
|
||||
font-family: "Oswald", "Helvetica Neue",Helvetica,Arial,sans-serif; }
|
||||
html {
|
||||
font-weight: 400;
|
||||
@ -157,6 +157,24 @@ a {
|
||||
.mg-icons-small .uk-icon-envelope {
|
||||
background-color: #059; }
|
||||
|
||||
.uk-icon-shaarli:before {
|
||||
content: ' ';
|
||||
display: inline-block;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
background-image: url(../../images/shaarli-icon.png);
|
||||
background-size: contain;}
|
||||
.uk-icon-stackoverflow:before {
|
||||
content: ' ';
|
||||
display: inline-block;
|
||||
height: 28px;
|
||||
width: 28px;
|
||||
background-image: url(../../images/stackoverflow-icon.png);
|
||||
background-size: contain;}
|
||||
|
||||
.mg-support-logo {
|
||||
margin: .5rem;}
|
||||
|
||||
.mg-badges li {
|
||||
float: left;
|
||||
position: relative; }
|
||||
|
@ -137,6 +137,27 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if LINKS %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
<h3 class="uk-panel-title">Blogroll</h3>
|
||||
<ul class="uk-nav uk-nav-side">
|
||||
{% for text, url in LINKS %}
|
||||
<li><a href="{{ url }}">{{ text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if SUPPORTS %}
|
||||
<div class="uk-panel uk-panel-box">
|
||||
{% for name, link, logo_url, title in SUPPORTS %}
|
||||
<a href="{{ link }}">
|
||||
<img class="mg-support-logo" src="{{ logo_url }}" alt="Logo {{ name }}" title="{{ title }}">
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user