-
- - - - -
-
-
+
+
-
+ <%= render '/partials/_events_tile.*', event: front_page_events.first %>
+
+
+
+
-
-
+
+
+
+
+ + + + +
+
+
+
- <%= render '/partials/_blog_preview.*', post: sorted_articles.first %>
+
diff --git a/layouts/partials/_blog_preview.erb b/layouts/partials/_blog_preview.erb
index 6325774..da8f314 100644
--- a/layouts/partials/_blog_preview.erb
+++ b/layouts/partials/_blog_preview.erb
@@ -17,5 +17,5 @@
+
-
+
-
+
+ <% front_page_events[1..3].each do |event| %>
+ Events
+
+ <%= render '/partials/_events_tile.*', event: event %>
+
+ <%end%>
-
- <% front_page_events[1..3].each do |event| %>
-
- <%= render '/partials/_events_tile.*', event: event %>
+
-
+
- <%end%>
+
+ <% sorted_articles[0..3].each do |post| %>
+ Blogposts
+
+ <%= render '/partials/_blog_preview.*', post: post %>
+
+ <%end%>
- <% sorted_articles[1..3].each do |post| %>
-
-
- <%= render '/partials/_blog_preview.*', post: post %>
-
- <%end%>
-
- <%= excerptize(post.reps[:text].compiled_content, length: 500).tr("\n", ' ')%>
+