diff --git a/content/articles/0001-first-post/index.md b/content/articles/0001-first-post/index.md new file mode 100644 index 00000000..fa9b087f --- /dev/null +++ b/content/articles/0001-first-post/index.md @@ -0,0 +1,10 @@ +--- +kind: article +created_at: 2013-08-18 +title: First post! +subtitle: Irgendwas muß ich ja schreiben +--- +Dies ist der erste Dummyartikel für das Blog. + +Mehr Details. Blah. + diff --git a/content/articles/0002-project-latitude-gestartet/index.md b/content/articles/0002-project-latitude-gestartet/index.md new file mode 100644 index 00000000..929d5c9b --- /dev/null +++ b/content/articles/0002-project-latitude-gestartet/index.md @@ -0,0 +1,10 @@ +--- +kind: article +created_at: 2013-08-19 +title: Project Latitude gestartet +refers_to: projects/project-latitude +--- +Jawoll, es geht langsam los! + +Mehr Details. Blah. + diff --git a/layouts/article_body.html b/layouts/article_body.html new file mode 100644 index 00000000..f03d6d7a --- /dev/null +++ b/layouts/article_body.html @@ -0,0 +1,39 @@ +<% +def sanitize_path(path) + result = path + if (!path.start_with?('/')) + result = '/' + result + end + if (!path.end_with?('/')) + result = result + '/' + end + result +end +%> +
+
+
+
+

<%= item[:title]%> + <% if item.attributes.has_key?(:subtitle) then %> +
<%= item[:subtitle] %> + <% end %>

+ +
+
+

+

+ <%= yield %> +
+
+
+
+ + +
+