From 74b1612e49ebd9cb29efb85f3afeb07f0e8d608a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 17 Oct 2023 17:38:24 -0400 Subject: Added blog links to sidebar --- app/assets/images/book_open.png | Bin 0 -> 622 bytes app/assets/images/feed.png | Bin 0 -> 691 bytes app/views/layouts/application.html.haml | 13 +++++++++++++ 3 files changed, 13 insertions(+) create mode 100644 app/assets/images/book_open.png create mode 100644 app/assets/images/feed.png (limited to 'app') diff --git a/app/assets/images/book_open.png b/app/assets/images/book_open.png new file mode 100644 index 0000000..7d863f9 Binary files /dev/null and b/app/assets/images/book_open.png differ diff --git a/app/assets/images/feed.png b/app/assets/images/feed.png new file mode 100644 index 0000000..315c4f4 Binary files /dev/null and b/app/assets/images/feed.png differ diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 32afb5d..f889127 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -32,6 +32,19 @@ %li = image_tag "tag_#{cycle("blue", "green", "orange", "pink", "purple", "red", "yellow")}.png" = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {} + .sidebar-module.fun-links + .bubble.rounded + %h2 Blog links + %ul + %li + = image_tag "book_open.png" + = link_to "Archive", blogs_url + %li + = image_tag "tag_blue.png" + = link_to "Tag cloud", tags_url + %li + = image_tag "feed.png" + = link_to "Atom feed", blogs_url(format: :atom) .sidebar-module .bubble.rounded %h2 Meta -- cgit 1.4.1