- <%= render '/tile.*', article: sorted_articles[0] %>
+ <%= render '/_tile.*', article: sorted_articles[0] %>
<% sorted_articles[1..-1].each do |article| %>
- <%= render '/tile.*', article: article %>
+ <%= render '/_tile.*', article: article %>
<% end %>
diff --git a/layouts/_navbar.erb b/layouts/_navbar.erb
new file mode 100644
index 0000000..5e18fc5
--- /dev/null
+++ b/layouts/_navbar.erb
@@ -0,0 +1,14 @@
+
diff --git a/layouts/tile.erb b/layouts/_tile.erb
similarity index 100%
rename from layouts/tile.erb
rename to layouts/_tile.erb
diff --git a/layouts/eventpost.erb b/layouts/eventpost.erb
index 8613bcc..9891c45 100644
--- a/layouts/eventpost.erb
+++ b/layouts/eventpost.erb
@@ -9,12 +9,7 @@
<%= item[:title] %>
-
+ <%= render '/_navbar.*' %>