1
0
Fork 0

Init Jekyll Theme

This commit is contained in:
Moritz »mo.« Sauer 2014-08-20 20:33:40 +02:00
parent ef6d8f23ef
commit e5d20c0faf
161 changed files with 11696 additions and 0 deletions

6
_includes/_about.html Normal file
View file

@ -0,0 +1,6 @@
<h2>Why use this theme?</h2>
<p>
<em>Feeling Responsive</em> is heavily built on <a href="http://foundation.zurb.com/">Foundation</a>, the fabulous responsive webdesign framework by Zurb. It supports a 12-column grid, persuades you with beautiful <a href="/typography/">typography</a> and is heavily optimized for speed.
</p>

View file

@ -0,0 +1 @@
»Feeling Responsive« is a responsive theme based on the fantastic foundation framework with beautiful typography and a bright color palette.

65
_includes/footer.html Normal file
View file

@ -0,0 +1,65 @@
<footer id="footer-content" class="bg-grau">
<div id="footer">
<div class="row">
<div class="medium-6 large-5 columns">
<h5 class="black-shadow">About this Website</h5>
<p class="black-shadow">
{% include _site_description.html %}
</p>
</div><!-- /.large-6.columns -->
<div class="small-6 medium-3 large-3 large-offset-1 columns">
<aside>
<div class="textwidget">
<h5 class="black-shadow">Services</h5>
<ul class="no-bullet black-shadow">
<li><a href="contact.html">Contact</a></li>
<li class="rss-link"><a href="{{ site.url }}/feed.xml">RSS</a></li>
<li class="sitemap-link"><a href="{{ site.url }}/sitemap.xml">Sitemap.xml</a></li>
</ul>
</div>
</aside>
</div><!-- /.large-4.columns -->
<div class="small-6 medium-3 large-3 columns">
<h5 class="black-shadow">Thank You!</h5>
<ul class="no-bullet black-shadow">
<li><a href="http://entypo.com/">Icons by Daniel Bruce</a></li>
<li><a href="http://foundation.zurb.com/">Built on Foundation</a></li>
<li><a href="http://unsplash.com/">Images by Unsplash</a></li>
<li><a href="http://srobbin.com/jquery-plugins/backstretch/">Using Backstretch by Scott Robbin</a></li>
</ul>
</div><!-- /.large-3.columns -->
</div><!-- /.row -->
<div class="row">
<div class="small-12 columns" style="text-align: right;">
<a class="entypo entypo-48" href="#masthead">&#59231;</a>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#footer -->
<div id="subfooter">
<nav class="row">
<section id="subfooter-left" class="bottom-30 small-12 medium-6 columns">
<ul class="inline-list">
<li><a href="{{ site.url }}/about/">About</a></li>
<li><a href="http://phlow.de/webdesign/">Theme &amp; Webdesign by Phlow</a></li>
</ul>
</section>
<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>
{% endfor %}
</ul>
</section>
</nav>
</div><!-- /#subfooter -->
</footer>

View file

@ -0,0 +1,5 @@
<script src="{{ site.url }}/assets/js/app.min.js"></script>
<script>
$("#masthead").backstretch("{{ site.url }}/assets/img/{% if page.image_header %}{{ page.image_header }}{% else %}unsplash_3.jpg{% endif %}");
</script>

View file

@ -0,0 +1,14 @@
<dl>
{% for post in site.posts reversed %}
{% if post.categories contains include.list-category %}
<dt>
<a href="{{ site.url }}{{ post.url }}">{% if post.chapter != nil %}{{ post.chapter }}. {% endif %}{{ post.title }}</a>
</dt>
{% if post.description %}
<dd>
{{ post.description }}
</dd>
{% endif %}
{% endif %}
{% endfor %}
</dl>

View file

@ -0,0 +1,10 @@
<ul class="side-nav">
{% assign counter = 1 %}
{% for post in site.posts reversed %}
{% if post.categories contains include.list-category %}
<li><a href="{{ site.url }}{{ post.url }}">#{{ counter }} {{ post.title }}</a></li>
{% assign counter=counter | plus:1 %}
{% endif %}
{% endfor %}
<li>&nbsp;</li>
</ul>

View file

@ -0,0 +1,8 @@
<ul class="side-nav">
{% for post in site.posts reversed %}
{% if post.categories contains include.list-category %}
<li><a href="{{ site.url }}{{ post.url }}">{% if post.chapter != nil %}{{ post.chapter }}. {% endif %}{{ post.title }}</a></li>
{% endif %}
{% endfor %}
<li>&nbsp;</li>
</ul>

20
_includes/header.html Normal file
View file

@ -0,0 +1,20 @@
<!doctype html>
<html class="no-js" lang="{% if site.language == nil %}en{% else %}{{ site.language }}{% endif %}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<link rel="stylesheet" href="{{ site.url }}/assets/css/style.min.css">
<script src="{{ site.url }}/assets/js/modernizr.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic%7cVolkhov:400,700' rel='stylesheet' type='text/css'>
{% if site.google_site_verification %}
<meta name="google-site-verification" content="{{ site.google_site_verification}}" />
{% endif %}
{% if site.google_author %}
<link rel="author" href="{{ site.google_author }}"/>
{% endif %}
{% if site.favicon %}
<link rel="shortcut icon" href="{{ site.favicon }}" type="image/png" />
<link rel="icon" href="{{ site.favicon }}" type="image/png" />
{% endif %}
</head>

25
_includes/masthead.html Normal file
View file

@ -0,0 +1,25 @@
{% if page.image_header == "no" %}
<div id="masthead-no-image-header">
<div class="row">
<div class="small-12 columns">
<a id="logo" href="{{ site.url }}" title="{{ site.title }}">
<img src="{{ site.url }}/assets/img/{{ site.logo }}" alt="{{ site.title }}">
</a>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% else %}
<div id="masthead">
<div class="row">
<div class="small-12 columns">
<a id="logo" href="{{ site.url }}" title="{{ site.title }}">
<img src="{{ site.url }}/assets/img/{{ site.logo }}" alt="{{ site.title }}">
</a>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#masthead -->
{% endif %}

117
_includes/navigation.html Normal file
View file

@ -0,0 +1,117 @@
<div id="navigation" class="contain-to-grid sticky">
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name"></li>
<!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
<li class="toggle-topbar menu-icon"><a href="#"><span>Navigation</span></a></li>
</ul>
<section class="top-bar-section">
{% comment %}
____ __ __ _ __ _ __ _
/ __ \___ _____/ /_ / /____ / | / /___ __ __(_)___ _____ _/ /_(_)___ ____
/ /_/ / _ \/ ___/ __ \/ __/ _ \ / |/ / __ `/ | / / / __ `/ __ `/ __/ / __ \/ __ \
/ _, _/ __/ /__/ / / / /_/ __/ / /| / /_/ /| |/ / / /_/ / /_/ / /_/ / /_/ / / / /
/_/ |_|\___/\___/_/ /_/\__/\___/ /_/ |_/\__,_/ |___/_/\__, /\__,_/\__/_/\____/_/ /_/
/____/
{% endcomment %}
<ul class="right">
{% for link in site.data.navigation %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url %}
{% endif %}
{% comment %} Wenn rechte Seite sonst mach nichts {% endcomment %}
{% if link.side == 'right' %}
{% comment %} Wenn rechte Seite OHNE Dropdown Menu dann {% endcomment %}
{% if link.dropdown == nil %}
<li class="divider"></li>
<li{% if link.url == page.url %} class="active"{% endif %}><a href="{{ domain }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title }}</a></li>
{% comment %} Wenn rechte Seite mit Dropdown Menu dann {% endcomment %}
{% else %}
<li class="divider"></li>
<li class="has-dropdown{% if link.url == page.url %} active{% endif %}">
<a href="{{ domain }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title }}</a>
<ul class="dropdown">
{% for dropdown_link in link.dropdown %}
{% if dropdown_link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url %}
{% endif %}
<li><a href="{{ domain }}{{ dropdown_link.url }}"{% if dropdown_link.url contains 'http' %} target="_blank"{% endif %}>{{ dropdown_link.title }}</a></li>
{% endfor %}
</ul>
</li>
{% endif %}
{% endif %}
{% endfor %}
{% comment %} Fertig Schleife 1 {% endcomment %}
</ul>
{% comment %}
__ _ __ _ __ _ __ _
/ / (_)___ / /_____ / | / /___ __ __(_)___ _____ _/ /_(_)___ ____
/ / / / __ \/ //_/ _ \ / |/ / __ `/ | / / / __ `/ __ `/ __/ / __ \/ __ \
/ /___/ / / / / ,< / __/ / /| / /_/ /| |/ / / /_/ / /_/ / /_/ / /_/ / / / /
/_____/_/_/ /_/_/|_|\___/ /_/ |_/\__,_/ |___/_/\__, /\__,_/\__/_/\____/_/ /_/
/____/
{% endcomment %}
<ul class="left">
{% for link in site.data.navigation %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url %}
{% endif %}
{% comment %} Wenn linke Seite sonst mach nichts {% endcomment %}
{% if link.side == 'left' %}
{% comment %} Wenn linke Seite OHNE Dropdown Menu dann {% endcomment %}
{% if link.dropdown == nil %}
<li{% if link.url == page.url %} class="active"{% endif %}><a href="{{ domain }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title }}</a></li>
<li class="divider"></li>
{% comment %} Wenn linke Seite mit Dropdown Menu dann {% endcomment %}
{% else %}
<li class="has-dropdown{% if link.url == page.url %} active{% endif %}">
<a href="{{ domain }}{{ link.url }}"{% if link.url contains 'http' %} target="_blank"{% endif %}>{{ link.title }}</a>
<ul class="dropdown">
{% for dropdown_link in link.dropdown %}
{% if dropdown_link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url %}
{% endif %}
<li><a href="{{ domain }}{{ dropdown_link.url }}"{% if dropdown_link.url contains 'http' %} target="_blank"{% endif %}>{{ dropdown_link.title }}</a></li>
{% endfor %}
</ul>
</li>
<li class="divider"></li>
{% endif %}
{% endif %}
{% endfor %}
{% comment %} Fertig Schleife 1 {% endcomment %}
</ul>
</section>
</nav>
</div><!-- /#navigation -->

View file

@ -0,0 +1,24 @@
{% comment %}
Das Plugin ist das category_next_previous.rb aus dem plugins-Ordner zum Einsatz
Quelle: http://ajclarkson.co.uk/blog/jekyll-category-post-navigation/
{% endcomment %}
<div class="row">
{% if page.next_in_category != nil %}
<div class="small-4 top-60 columns">
<a class="button grey small radius expand" href="{{ site.url }}{{ page.next_in_category.url }}">&lang; {% if page.next_in_category.chapter != nil %}{{ page.next_in_category.chapter }}. {% endif %}{{ page.next_in_category.title }}</a>
</div><!-- /.small-4.columns -->
{% endif %}
<div class="small-4 top-60 columns">
<a class="button grey small radius expand" href="{{ site.url }}/anleitungen/">Inhaltsverzeichnis</a>
</div><!-- /.small-4.columns -->
<div class="small-4 top-60 columns">
{% if page.previous_in_category != nil %}
<a class="button grey small radius expand" href="{{ site.url }}{{ page.previous_in_category.url }}">{% if page.previous_in_category.chapter != nil %}{{ page.previous_in_category.chapter }}. {% endif %}{{ page.previous_in_category.title }} &rang;</a>
{% endif %}
</div><!-- /.small-4.columns -->
</div><!-- /.row -->

10
_includes/sidebar.html Normal file
View file

@ -0,0 +1,10 @@
<aside>
<div class="panel radius">
<h3>Sidebar</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
</aside>