1
0
Fork 0

Update New Homepage

This commit is contained in:
Moritz »mo.« Sauer 2014-09-16 16:40:11 +02:00
parent 32360c9176
commit 54c5d4b093
13 changed files with 65 additions and 44 deletions

View file

@ -1,6 +0,0 @@
<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="{{ site.url }}/design/typography/">typography</a> and is heavily optimized for speed.
</p>

View file

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

View file

@ -0,0 +1,6 @@
<ul class="side-nav">
{% for post in site.posts limit:include.entries offset:include.offset %}
<li><a href="{{ site.url }}{{ post.url }}">{% if post.subheadline %}{{ post.subheadline }} &middot; {% endif %}<strong>{{ post.title }}</strong></a></li>
{% endfor %}
<li class="text-right"><a href="{{ site.url }}/blog/"><strong>More </strong></a></li>
</ul>

View file

@ -5,7 +5,7 @@
<h5 class="shadow-black">About this Website</h5>
<p class="shadow-black">
{% include _site_description.html %}
{{ site.description }}
</p>
</div><!-- /.large-6.columns -->

View file

@ -1,4 +1,4 @@
<script src="{{ site.url }}/assets/js/app.min.js"></script>
<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 %}");

View file

@ -1,10 +0,0 @@
<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

@ -1,8 +0,0 @@
<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>

View file

@ -9,7 +9,8 @@
<link href='http://fonts.googleapis.com/css?family=Lato: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.bing_webmastertools_id %}<meta name="msvalidate.01" content="{{ site.bing_webmastertools_id }}" />{% endif %}
{% if page.meta_description %}<meta name="description" content="{{ page.meta_description | strip_html | escape }}"/>{% elsif page.description %}<meta name="description" content="{{ page.description | strip_html | escape }}"/>{% endif %}
{% if page.meta_description %}<meta name="description" content="{{ page.meta_description | strip_html | escape }}"/>{% elsif page.description %}<meta name="description" content="{{ page.description | strip_html | escape }}"/>{% elsif site.description %}<meta name="description" content="{{ site.description | strip_html | escape }}"/>{% endif %}
{% if site.google_author %}<link rel="author" href="{{ site.google_author }}"/>{% endif %}
{% if site.favicon %}<link rel="shortcut icon" href="{{ site.url }}{{ site.favicon }}" type="image/png" />{% endif %}
{% if site.favicon %}<link rel="icon" href="{{ site.url }}{{ site.favicon }}" type="image/png" />{% endif %}
@ -23,7 +24,7 @@
<meta property="og:locale" content="{% if site.og_locale == nil %}en_EN{% else %}{{ site.og_locale }}{% endif %}" />
{% if site.og_type %}<meta property="og:type" content="website" />{% endif %}
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
{% if page.meta_description %}<meta property="og:description" content="{{ page.meta_description | strip_html | escape }}"/>{% elsif page.description %}<meta name="description" content="{{ page.description | strip_html | escape }}"/>{% elsif site.description %}<meta name="description" content="{{ site.description | strip_html | escape }}"/>{% endif %}
{% if page.meta_description %}<meta property="og:description" content="{{ page.meta_description | strip_html | escape }}"/>{% elsif page.description %}<meta property="og:description" content="{{ page.description | strip_html | escape }}"/>{% elsif site.description %}<meta property="og:description" content="{{ site.description | strip_html | escape }}"/>{% endif %}
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
{% if site.title %}<meta property="og:site_name" content="{{ site.title }}" />{% endif %}
{% if page.image.thumb %}<meta property="og:image" content="{{ site.url }}/assets/img/{{ page.image.thumb }}" />{% endif %}