Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate English from German blog posts
- Loading branch information
1 parent
c5ea73a
commit 844b5b1
Showing
33 changed files
with
274 additions
and
121 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: Page Not Found | ||
subtitle: HTTP 404 | ||
permalink: 404.html | ||
--- | ||
|
||
<div class="alert alert-danger" role="alert"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> Sorry, this page does not exist.</div> | ||
|
||
<p><a href="{{ site.baseurl }}/" class="btn btn-lg btn-success">Start Over <i class="fa fa-chevron-right"></i></a></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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
en: | ||
name: "English" | ||
index: | ||
blog: | ||
index: | ||
date_format: "%b %-d, %Y" | ||
read_on: Read on | ||
subscribe: Subscribe | ||
via_rss: via RSS | ||
de: | ||
name: "Deutsch" | ||
index: /de/blog/ | ||
blog: | ||
index: /de/blog/ | ||
date_format: "%d.%m.%Y" | ||
read_on: Weiterlesen | ||
subscribe: Abonnieren | ||
via_rss: per RSS |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% assign translation = site.data.translations[page.lang] %} | ||
{% assign posts = site.posts | where:"lang", page.lang %} | ||
{% for post in posts %} | ||
<h2 class="post-title"><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> <small class="post-date">{{ post.date | date: site.data.translations[page.lang].blog.date_format }}</small></h2> | ||
{{ post.excerpt }} | ||
<p><a href="{{ post.url | prepend: site.baseurl }}" class="btn btn-success">{{ translation.blog.read_on }} <i class="fa fa-chevron-right"></i></a></p> | ||
{% unless forloop.last %} | ||
<hr> | ||
{% endunless %} | ||
{% endfor %} | ||
|
||
<hr> | ||
|
||
<p>{{ translation.blog.subscribe }} <a href="{{ "/feed.xml" | prepend: site.baseurl }}">{{ translation.blog.via_rss }}</a></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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% for translation in site.data.translations %} | ||
{% assign lang = translation[0] %} | ||
{% assign node = (include.pages | where: 'ref', page.ref | where: 'lang', lang | sample %} | ||
{% if node and (node.url == page.url or node.url == page.nav_url) %} | ||
<li class="active"> | ||
{% elsif node == nil %} | ||
<li class="disabled"> | ||
{% else %} | ||
<li> | ||
{% endif %} | ||
<a href="{{ node.url | prepend: site.baseurl | replace:'index.html','' }}">{{ translation[1].name }}</a></li> | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<html lang="{{ page.lang }}"> | ||
|
||
{% include head.html %} | ||
|
||
|
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
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
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
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
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
3 changes: 2 additions & 1 deletion
3
_posts/2010-05-13-combining-suitebuilder-and-classpathsuite.markdown
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
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
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
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
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
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
7 changes: 4 additions & 3 deletions
7
_posts/2012-06-23-pecha-kucha-software-craftsmanship.markdown
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
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
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
Oops, something went wrong.