Migrating to Clean Blog design from startbootstrap
This commit is contained in:
		
							parent
							
								
									fca8b9eddd
								
							
						
					
					
						commit
						3bf7a92375
					
				
					 45 changed files with 20560 additions and 129 deletions
				
			
		| 
						 | 
				
			
			@ -1,53 +1,16 @@
 | 
			
		|||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
  <head>
 | 
			
		||||
    <title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
 | 
			
		||||
    {% include meta.html %}
 | 
			
		||||
{% include head.html %}
 | 
			
		||||
 | 
			
		||||
    <!--[if lt IE 9]>
 | 
			
		||||
      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
 | 
			
		||||
    <![endif]-->
 | 
			
		||||
<body>
 | 
			
		||||
 | 
			
		||||
    <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" />
 | 
			
		||||
    <link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
 | 
			
		||||
    {% include nav.html %}
 | 
			
		||||
 | 
			
		||||
    <!-- Created with Jekyll Now - http://github.com/barryclark/jekyll-now -->
 | 
			
		||||
  </head>
 | 
			
		||||
    {{ content }}
 | 
			
		||||
 | 
			
		||||
  <body>
 | 
			
		||||
    <div class="wrapper-masthead">
 | 
			
		||||
      <div class="container">
 | 
			
		||||
        <header class="masthead clearfix">
 | 
			
		||||
          <a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.avatar }}" /></a>
 | 
			
		||||
    {% include footer.html %}
 | 
			
		||||
 | 
			
		||||
          <div class="site-info">
 | 
			
		||||
            <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
 | 
			
		||||
            <p class="site-description">{{ site.description }}</p>
 | 
			
		||||
          </div>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
          <nav>
 | 
			
		||||
            <a href="{{ site.baseurl }}/">Blog</a>
 | 
			
		||||
            <a href="{{ site.baseurl }}/resources">Resources</a>
 | 
			
		||||
            <a href="{{ site.baseurl }}/about">About</a>
 | 
			
		||||
            <a href="{{ site.baseurl }}/impressum">Impressum</a>
 | 
			
		||||
          </nav>
 | 
			
		||||
        </header>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div id="main" role="main" class="container">
 | 
			
		||||
      {{ content }}
 | 
			
		||||
    </div>
 | 
			
		||||
    
 | 
			
		||||
    <div class="wrapper-footer">
 | 
			
		||||
      <div class="container">
 | 
			
		||||
        <footer class="footer">
 | 
			
		||||
          {% include svg-icons.html %}
 | 
			
		||||
        </footer>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    {% include analytics.html %}
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										53
									
								
								_layouts/default.html.org
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										53
									
								
								_layouts/default.html.org
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,53 @@
 | 
			
		|||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
  <head>
 | 
			
		||||
    <title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }} – {{ site.description }}</title>
 | 
			
		||||
 | 
			
		||||
    {% include meta.html %}
 | 
			
		||||
 | 
			
		||||
    <!--[if lt IE 9]>
 | 
			
		||||
      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
 | 
			
		||||
    <![endif]-->
 | 
			
		||||
 | 
			
		||||
    <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/style.css" />
 | 
			
		||||
    <link rel="alternate" type="application/rss+xml" title="{{ site.name }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
 | 
			
		||||
 | 
			
		||||
    <!-- Created with Jekyll Now - http://github.com/barryclark/jekyll-now -->
 | 
			
		||||
  </head>
 | 
			
		||||
 | 
			
		||||
  <body>
 | 
			
		||||
    <div class="wrapper-masthead">
 | 
			
		||||
      <div class="container">
 | 
			
		||||
        <header class="masthead clearfix">
 | 
			
		||||
          <a href="{{ site.baseurl }}/" class="site-avatar"><img src="{{ site.avatar }}" /></a>
 | 
			
		||||
 | 
			
		||||
          <div class="site-info">
 | 
			
		||||
            <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
 | 
			
		||||
            <p class="site-description">{{ site.description }}</p>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
          <nav>
 | 
			
		||||
            <a href="{{ site.baseurl }}/">Blog</a>
 | 
			
		||||
            <a href="{{ site.baseurl }}/resources">Resources</a>
 | 
			
		||||
            <a href="{{ site.baseurl }}/about">About</a>
 | 
			
		||||
            <a href="{{ site.baseurl }}/impressum">Impressum</a>
 | 
			
		||||
          </nav>
 | 
			
		||||
        </header>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    <div id="main" role="main" class="container">
 | 
			
		||||
      {{ content }}
 | 
			
		||||
    </div>
 | 
			
		||||
    
 | 
			
		||||
    <div class="wrapper-footer">
 | 
			
		||||
      <div class="container">
 | 
			
		||||
        <footer class="footer">
 | 
			
		||||
          {% include svg-icons.html %}
 | 
			
		||||
        </footer>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
    {% include analytics.html %}
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			@ -2,11 +2,28 @@
 | 
			
		|||
layout: default
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
<article class="page">
 | 
			
		||||
<!-- Page Header -->
 | 
			
		||||
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
 | 
			
		||||
    <div class="container">
 | 
			
		||||
        <div class="row">
 | 
			
		||||
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
			
		||||
                <div class="site-heading">
 | 
			
		||||
                    <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
 | 
			
		||||
                    <hr class="small">
 | 
			
		||||
                    <span class="subheading">{{ page.description }}</span>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</header>
 | 
			
		||||
 | 
			
		||||
  <h1>{{ page.title }}</h1>
 | 
			
		||||
<!-- Main Content -->
 | 
			
		||||
<div class="container">
 | 
			
		||||
	<div class="row">
 | 
			
		||||
		<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
			
		||||
			{{ content }}
 | 
			
		||||
		</div>
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
  <div class="entry">
 | 
			
		||||
    {{ content }}
 | 
			
		||||
  </div>
 | 
			
		||||
</article>
 | 
			
		||||
<hr>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										12
									
								
								_layouts/page.html.org
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								_layouts/page.html.org
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
---
 | 
			
		||||
layout: default
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
<article class="page">
 | 
			
		||||
 | 
			
		||||
  <h1>{{ page.title }}</h1>
 | 
			
		||||
 | 
			
		||||
  <div class="entry">
 | 
			
		||||
    {{ content }}
 | 
			
		||||
  </div>
 | 
			
		||||
</article>
 | 
			
		||||
| 
						 | 
				
			
			@ -2,54 +2,49 @@
 | 
			
		|||
layout: default
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
{% assign post = page %}
 | 
			
		||||
<!-- Post Header -->
 | 
			
		||||
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
 | 
			
		||||
    <div class="container">
 | 
			
		||||
        <div class="row">
 | 
			
		||||
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
			
		||||
                <div class="post-heading">
 | 
			
		||||
                    <h1>{{ page.title }}</h1>
 | 
			
		||||
                    {% if page.subtitle %}
 | 
			
		||||
                    <h2 class="subheading">{{ page.subtitle }}</h2>
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                    <span class="meta">Posted by {% if page.author %}{{ page.author }}{% else %}{{ site.title }}{% endif %} on {{ page.date | date: "%B %-d, %Y" }}</span>
 | 
			
		||||
                </div>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</header>
 | 
			
		||||
 | 
			
		||||
<article class="post">
 | 
			
		||||
  <h1>{{page.title}}</h1>
 | 
			
		||||
<!-- Post Content -->
 | 
			
		||||
<article>
 | 
			
		||||
    <div class="container">
 | 
			
		||||
        <div class="row">
 | 
			
		||||
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
			
		||||
 | 
			
		||||
  <p class='info'>      
 | 
			
		||||
    {% if post.category %}
 | 
			
		||||
      {% for site_category in site.data.categories %}
 | 
			
		||||
        {% if site_category.slug == post.category %}
 | 
			
		||||
          {% assign category = site_category %}
 | 
			
		||||
        {% endif %}
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
      {% if category %}
 | 
			
		||||
        {% capture category_content %} in <a href="/meta/category/{{ category.slug }}/">{{ category.name }}</a>{% endcapture %}
 | 
			
		||||
      {% endif %}
 | 
			
		||||
    {% else %}
 | 
			
		||||
      {% assign category_content = '' %}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
				{{ content }}
 | 
			
		||||
 | 
			
		||||
    {% if post.tags.size > 0 %}
 | 
			
		||||
      {% capture tags_content %} with tags {% endcapture %}
 | 
			
		||||
      {% for post_tag in post.tags %}
 | 
			
		||||
          {% for data_tag in site.data.tags %}
 | 
			
		||||
            {% if data_tag.slug == post_tag %}
 | 
			
		||||
              {% assign tag = data_tag %}
 | 
			
		||||
            {% endif %}
 | 
			
		||||
          {% endfor %}
 | 
			
		||||
          {% if tag %}
 | 
			
		||||
            {% capture tags_content_temp %}{{ tags_content }}<a href="/meta/tag/{{ tag.slug }}/">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}{% endcapture %}
 | 
			
		||||
            {% assign tags_content = tags_content_temp %}
 | 
			
		||||
          {% endif %}
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
    {% else %}
 | 
			
		||||
      {% assign tags_content = '' %}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
                <hr>
 | 
			
		||||
 | 
			
		||||
    <span>{{page.date | date: "%B %d, %Y" }}</span>
 | 
			
		||||
    /
 | 
			
		||||
    <span>by {{page.author}}</span>    
 | 
			
		||||
    <br/>
 | 
			
		||||
    <span>Posted {{ category_content }}{{ tags_content }}</span>
 | 
			
		||||
  </p>
 | 
			
		||||
                <ul class="pager">
 | 
			
		||||
                    {% if page.previous.url %}
 | 
			
		||||
                    <li class="previous">
 | 
			
		||||
                        <a href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.previous.title}}">← Previous Post</a>
 | 
			
		||||
                    </li>
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                    {% if page.next.url %}
 | 
			
		||||
                    <li class="next">
 | 
			
		||||
                        <a href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post →</a>
 | 
			
		||||
                    </li>
 | 
			
		||||
                    {% endif %}
 | 
			
		||||
                </ul>
 | 
			
		||||
 | 
			
		||||
  <hr/>
 | 
			
		||||
  
 | 
			
		||||
  <div class="entry">
 | 
			
		||||
    {{ content }}
 | 
			
		||||
  </div>
 | 
			
		||||
 | 
			
		||||
  {% include disqus.html %}
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</article>
 | 
			
		||||
 | 
			
		||||
<hr>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										55
									
								
								_layouts/post.html.org
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								_layouts/post.html.org
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,55 @@
 | 
			
		|||
---
 | 
			
		||||
layout: default
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
{% assign post = page %}
 | 
			
		||||
 | 
			
		||||
<article class="post">
 | 
			
		||||
  <h1>{{page.title}}</h1>
 | 
			
		||||
 | 
			
		||||
  <p class='info'>      
 | 
			
		||||
    {% if post.category %}
 | 
			
		||||
      {% for site_category in site.data.categories %}
 | 
			
		||||
        {% if site_category.slug == post.category %}
 | 
			
		||||
          {% assign category = site_category %}
 | 
			
		||||
        {% endif %}
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
      {% if category %}
 | 
			
		||||
        {% capture category_content %} in <a href="/meta/category/{{ category.slug }}/">{{ category.name }}</a>{% endcapture %}
 | 
			
		||||
      {% endif %}
 | 
			
		||||
    {% else %}
 | 
			
		||||
      {% assign category_content = '' %}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
    {% if post.tags.size > 0 %}
 | 
			
		||||
      {% capture tags_content %} with tags {% endcapture %}
 | 
			
		||||
      {% for post_tag in post.tags %}
 | 
			
		||||
          {% for data_tag in site.data.tags %}
 | 
			
		||||
            {% if data_tag.slug == post_tag %}
 | 
			
		||||
              {% assign tag = data_tag %}
 | 
			
		||||
            {% endif %}
 | 
			
		||||
          {% endfor %}
 | 
			
		||||
          {% if tag %}
 | 
			
		||||
            {% capture tags_content_temp %}{{ tags_content }}<a href="/meta/tag/{{ tag.slug }}/">{{ tag.name }}</a>{% if forloop.last == false %}, {% endif %}{% endcapture %}
 | 
			
		||||
            {% assign tags_content = tags_content_temp %}
 | 
			
		||||
          {% endif %}
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
    {% else %}
 | 
			
		||||
      {% assign tags_content = '' %}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
    <span>{{page.date | date: "%B %d, %Y" }}</span>
 | 
			
		||||
    /
 | 
			
		||||
    <span>by {{page.author}}</span>    
 | 
			
		||||
    <br/>
 | 
			
		||||
    <span>Posted {{ category_content }}{{ tags_content }}</span>
 | 
			
		||||
  </p>
 | 
			
		||||
 | 
			
		||||
  <hr/>
 | 
			
		||||
  
 | 
			
		||||
  <div class="entry">
 | 
			
		||||
    {{ content }}
 | 
			
		||||
  </div>
 | 
			
		||||
 | 
			
		||||
  {% include disqus.html %}
 | 
			
		||||
</article>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue