summaryrefslogtreecommitdiff
path: root/source/index.html.haml
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-10-12 12:14:10 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-10-12 12:54:44 +0200
commit728a3c7ea09324c17e408f743a123dcfc342d3bf (patch)
tree7ceddeb5293f2d8df2959e3b61dbc711d0ca776e /source/index.html.haml
parent672e80a35976470679c9f5cb9cbdd94339ec229a (diff)
add styles for proper display of week overview on index
Diffstat (limited to 'source/index.html.haml')
-rw-r--r--source/index.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/index.html.haml b/source/index.html.haml
index 5d17f84..0bba68b 100644
--- a/source/index.html.haml
+++ b/source/index.html.haml
@@ -20,8 +20,10 @@ title: sublab - Ein Hackerspace in Leipzig
%p CryptoCon14 - 22. bis 25. Mai 2014
.row
- - %w(Montag Dienstag Mittwoch Donnerstag Freitag Samstag Sonntag).each do |dow|
- .columns.small-12.medium-6.large-3
+ - %w(Montag Dienstag Mittwoch Donnerstag Freitag Samstag Sonntag).each_with_index do |dow, i|
+ - dow_classes = ["columns", "small-12", "medium-4", "large-1", "dow-columns"]
+ - dow_classes << "end" if i == 6
+ %div{class: dow_classes}
%h5= dow
%ul
%li= lorem.words(3)