about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/helpers/application_helper.rb6
-rw-r--r--app/views/layouts/application.html.haml8
2 files changed, 14 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index cffcf5d..97a897f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb
@@ -39,4 +39,10 @@ module ApplicationHelper
39 ] 39 ]
40 end 40 end
41 41
42 def friends_sidebar
43 [
44 { title: "Entropically", url: "https://entropically.neocities.org/" },
45 ]
46 end
47
42end 48end
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 98b4ef4..1d0bea3 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml
@@ -54,6 +54,14 @@
54 = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {} 54 = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {}
55 .sidebar-module.fun-links 55 .sidebar-module.fun-links
56 .bubble.rounded 56 .bubble.rounded
57 %h2 Friends
58 %ul
59 - friends_sidebar().each do |link|
60 %li
61 = image_tag "tag_#{cycle("blue", "green", "orange", "pink", "purple", "red", "yellow")}.png"
62 = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {}
63 .sidebar-module.fun-links
64 .bubble.rounded
57 %h2 Blog links 65 %h2 Blog links
58 %ul 66 %ul
59 %li 67 %li