diff options
Diffstat (limited to 'app/views/layouts/application.html.haml')
-rw-r--r-- | app/views/layouts/application.html.haml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 90ea5e2..1d0bea3 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml | |||
@@ -9,15 +9,16 @@ | |||
9 | %link{rel: "me", href: "mailto:fefferburbia+thoughts@gmail.com"} | 9 | %link{rel: "me", href: "mailto:fefferburbia+thoughts@gmail.com"} |
10 | %link{rel: "webmention", href: webmentions_url} | 10 | %link{rel: "webmention", href: webmentions_url} |
11 | %link{rel: "alternate", type: "application/atom+xml", href: blogs_url(format: :atom)} | 11 | %link{rel: "alternate", type: "application/atom+xml", href: blogs_url(format: :atom)} |
12 | %meta{name: "viewport", content: "width=device-width, initial-scale=1.0"} | ||
12 | %body#main-body | 13 | %body#main-body |
13 | - if flash[:alert] | 14 | - if flash[:alert] |
14 | %div#flash.flash-alert= flash[:alert] | 15 | %div#flash.flash-alert= flash[:alert] |
15 | - if flash[:notice] | 16 | - if flash[:notice] |
16 | %div#flash.flash-notice= flash[:notice] | 17 | %div#flash.flash-notice= flash[:notice] |
17 | #container | 18 | #container |
18 | #page-header | 19 | %header#banner |
19 | %header#banner | 20 | %h1 Four Island |
20 | %h1= link_to "Four Island", root_url | 21 | = link_to image_tag("fourisland_header.png"), root_url |
21 | #page-body | 22 | #page-body |
22 | #sidebar | 23 | #sidebar |
23 | .sidebar-module | 24 | .sidebar-module |
@@ -53,6 +54,14 @@ | |||
53 | = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {} | 54 | = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {} |
54 | .sidebar-module.fun-links | 55 | .sidebar-module.fun-links |
55 | .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 | ||
56 | %h2 Blog links | 65 | %h2 Blog links |
57 | %ul | 66 | %ul |
58 | %li | 67 | %li |