This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<article class="hentry"> | |
<header> | |
<h1 class="entry-title"></h1> | |
<h2 class="entry-summary"></h2> | |
<time class="published" datetime="2012-01-07 11:11:03-0400"> | |
01-07-2012 | |
</time> | |
<p class="byline author vcard"> | |
Von <span class="fn"></span> | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html class="no-js" lang="de"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Index</title> | |
<style type="text/css"> | |
body,html { | |
margin: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box-shadow { box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), | |
0 1px 5px 0 rgba(0,0,0,0.12), | |
0 3px 1px -2px rgba(0,0,0,0.2); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="de"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>HTML-Typographie – Alle HTML5-Elemente testen</title> | |
<meta name="description" content="Test-Webseite, um alle HTML-Typografie-Elemente zu testen."> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for c in site.collections %} | |
{% assign docs=c[1].docs %} | |
{% for doc in docs %} | |
// do something | |
{% endfor %} | |
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
# | |
# Change date order by adding '| reversed' | |
# To sort by title or other variables use {% assign sorted_posts = category[1] | sort: 'title' %} | |
# | |
{% endcomment %} | |
{% assign sorted_cats = site.categories | sort %} | |
{% for category in sorted_cats %} | |
{% assign sorted_posts = category[1] | reverse %} | |
<h2 id="{{category[0] | uri_escape | downcase }}">{{category[0] | capitalize}}</H2> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
* | |
* Counter: This include counts your jekyll posts | |
* | |
{% endcomment %}{% assign counter = 0 %}{% for item in site.posts %}{% unless item.published == false %}{% assign counter=counter | plus:1 %}{% endunless %}{% endfor %}{{ counter }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
# | |
# Explanation: | |
# | |
# This include splits the content of {{ content }} into | |
# two parts if Jekyll finds an excerpt separator. This allows | |
# extra styling of the first part to enlarge the the fontsize | |
# of the teaser for example. | |
# | |
# The excerpt separator can be defined directly in your |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Categories</h2> | |
<ul> | |
{% assign categories_list = site.categories %} | |
{% if categories_list.first[0] == null %} | |
{% for category in categories_list %} | |
<li><a href="#{{ category | downcase | downcase | url_escape | strip | replace: ' ', '-' }}">{{ category | camelcase }} ({{ site.tags[category].size }})</a></li> | |
{% endfor %} | |
{% else %} | |
{% for category in categories_list %} | |
<li><a href="#{{ category[0] | downcase | url_escape | strip | replace: ' ', '-' }}">{{ category[0] | camelcase }} ({{ category[1].size }})</a></li> |