diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 17:38:24 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-17 17:38:24 -0400 |
commit | 74b1612e49ebd9cb29efb85f3afeb07f0e8d608a (patch) | |
tree | 5be848ee2a77c6f227c260b56fd94da2c49ac907 /app | |
parent | 293448fa36b0fc690671c9da440dd4dff22b9051 (diff) | |
download | thoughts-74b1612e49ebd9cb29efb85f3afeb07f0e8d608a.tar.gz thoughts-74b1612e49ebd9cb29efb85f3afeb07f0e8d608a.tar.bz2 thoughts-74b1612e49ebd9cb29efb85f3afeb07f0e8d608a.zip |
Added blog links to sidebar
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/images/book_open.png | bin | 0 -> 622 bytes | |||
-rw-r--r-- | app/assets/images/feed.png | bin | 0 -> 691 bytes | |||
-rw-r--r-- | app/views/layouts/application.html.haml | 13 |
3 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/images/book_open.png b/app/assets/images/book_open.png new file mode 100644 index 0000000..7d863f9 --- /dev/null +++ b/app/assets/images/book_open.png | |||
Binary files differ | |||
diff --git a/app/assets/images/feed.png b/app/assets/images/feed.png new file mode 100644 index 0000000..315c4f4 --- /dev/null +++ b/app/assets/images/feed.png | |||
Binary files 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 @@ | |||
32 | %li | 32 | %li |
33 | = image_tag "tag_#{cycle("blue", "green", "orange", "pink", "purple", "red", "yellow")}.png" | 33 | = image_tag "tag_#{cycle("blue", "green", "orange", "pink", "purple", "red", "yellow")}.png" |
34 | = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {} | 34 | = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {} |
35 | .sidebar-module.fun-links | ||
36 | .bubble.rounded | ||
37 | %h2 Blog links | ||
38 | %ul | ||
39 | %li | ||
40 | = image_tag "book_open.png" | ||
41 | = link_to "Archive", blogs_url | ||
42 | %li | ||
43 | = image_tag "tag_blue.png" | ||
44 | = link_to "Tag cloud", tags_url | ||
45 | %li | ||
46 | = image_tag "feed.png" | ||
47 | = link_to "Atom feed", blogs_url(format: :atom) | ||
35 | .sidebar-module | 48 | .sidebar-module |
36 | .bubble.rounded | 49 | .bubble.rounded |
37 | %h2 Meta | 50 | %h2 Meta |