summaryrefslogtreecommitdiff
path: root/source/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'source/index.html.haml')
-rw-r--r--source/index.html.haml8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/index.html.haml b/source/index.html.haml
index f05a832..abd9728 100644
--- a/source/index.html.haml
+++ b/source/index.html.haml
@@ -20,13 +20,15 @@ title: sublab - Ein Hackerspace in Leipzig
%p CryptoCon14 - 22. bis 25. Mai 2014
.row
- - %w(Montag Dienstag Mittwoch Donnerstag Freitag Samstag Sonntag).each_with_index do |dow, i|
+ - current_week.each_with_index do |date, i|
- dow_classes = ["columns", "small-12", "medium-4", "large-1", "dow-columns"]
- dow_classes << "end" if i == 6
%div{class: dow_classes}
- %h5= dow
+ %h5= date.strftime("%A")
%ul
- %li= lorem.words(3)
+ - events_on(date).each do |ev|
+ %li
+ = "%s: %s" % [ev.start_time, ev.summary]
.row
.columns