1
0
Fork 0

now with custom icon font (and some tweaks)

This commit is contained in:
Moritz »mo.« Sauer 2015-02-09 12:10:39 +01:00
parent 5cbd281bfa
commit ed4dd73333
96 changed files with 2990 additions and 7563 deletions

View file

@ -1,6 +1,6 @@
<div id="up-to-top" class="row">
<div class="small-12 columns" style="text-align: right;">
<a class="entypo entypo-48" href="#top-of-page">&nbsp;&#59231;&nbsp;</a>
<a class="iconfont" href="#top-of-page">&#xf108;</a>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
@ -9,11 +9,11 @@
<div id="footer">
<div class="row">
<div class="medium-6 large-5 columns">
<h5 class="shadow-black">{{ site.data.language.about_website }}</h5>
<h5 class="shadow-black">{{ site.data.language.info_website }}</h5>
<p class="shadow-black">
{{ site.description }}
<a href="{{ site.url }}/about/">{{ site.data.language.more }}</a>
<a href="{{ site.url }}/info/">{{ site.data.language.more }}</a>
</p>
</div><!-- /.large-6.columns -->
@ -76,7 +76,7 @@
<section id="subfooter-right" class="small-12 medium-6 columns social-icons">
<ul class="inline-list">
{% for social_item in site.data.socialmedia %}
<li><a href="{{ social_item.url }}" target="_blank" id="{{ social_item.id }}" class="{{ social_item.class }}" title="{{ social_item.title }}">{{ social_item.entypo }}</a></li>
<li><a href="{{ social_item.url }}" target="_blank" class="{{ social_item.class }}" title="{{ social_item.title }}"></a></li>
{% endfor %}
</ul>
</section>

View file

@ -4,26 +4,26 @@ Possible parameter for this loop:
entries
offset
category
category
tag
Example for Category: {% include list-posts.html entries='3' offset='1' category='design' %}
Example for Tag: {% include list-posts.html entries='5' tag='terminal' %}
This loop works like this:
1. First we check if there was given a category for filtering if include.categories == NULL
2. If no category is given for filtering do a general loop.
3. If a category was given, assign category the given category to the variable category assign category = include.categories
3. If a category/tag was given, assign category/tag to the variable category/tag assign category = include.categories
{% endcomment %}
{% assign category = include.category %}
{% assign tag = include.tag %}
<ul class="side-nav">
{% if category == NULL and tag == NULL %}

View file

@ -1,9 +1,9 @@
<div id="page-meta" class="t30">
<p>
<span class="entypo entypo-32">&#128197;</span> <span class="pr20">{{ page.date | date: "%d.%m.%Y" }}</span>
{% if page.categories %}<span class="entypo entypo-32">&#128193;</span> <span class="pr20">{{ page.categories | join: ' · ' | upcase }}{% endif %}</span>
<span class="pr20">{% for tag in page.tags %}<span class="entypo entypo-32">&#59148;</span><span class="pr10">{{tag}}</span> {% endfor %}</span>
<span class="icon-calendar pr20"> {{ page.date | date: "%d.%m.%Y" }}</span>
{% if page.categories %}<span class="icon-archive pr20"> {{ page.categories | join: ' · ' | upcase }}{% endif %}</span>
<span class="pr20">{% for tag in page.tags %}<span class="icon-price-tag pr10"> {{tag}}</span> {% endfor %}</span>
</p>