From 7957b8f29eeeb62e1d892b914158b5d0768b7205 Mon Sep 17 00:00:00 2001 From: Robbe Van Herck Date: Tue, 8 Oct 2019 02:36:15 +0200 Subject: [PATCH] Ugly columns --- content/assets/stylesheets/includes/projects.scss | 1 - content/projects.erb | 8 +++++--- layouts/partials/_project.erb | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/content/assets/stylesheets/includes/projects.scss b/content/assets/stylesheets/includes/projects.scss index 2dce0e1..0be8df0 100644 --- a/content/assets/stylesheets/includes/projects.scss +++ b/content/assets/stylesheets/includes/projects.scss @@ -29,7 +29,6 @@ } .project { - background-color: $background; margin-top: 30px; } diff --git a/content/projects.erb b/content/projects.erb index 99d27e1..6dc1353 100644 --- a/content/projects.erb +++ b/content/projects.erb @@ -37,6 +37,8 @@ order: 30 -<% all_projects.each do |project| %> - <%= render '/partials/_project.erb', project: project%> -<% end %> +
+ <% all_projects.each do |project| %> + <%= render '/partials/_project.erb', project: project%> + <% end %> +
diff --git a/layouts/partials/_project.erb b/layouts/partials/_project.erb index 7d4392a..131772a 100644 --- a/layouts/partials/_project.erb +++ b/layouts/partials/_project.erb @@ -1,4 +1,4 @@ -
+
<% if project[:logo_image] %>