about summary refs log tree commit diff stats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 16:31:18 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 16:31:18 -0400
commit9fa88ab910919f79ade4355b3daffd5aaec1ca58 (patch)
tree0a060b1730365e48b7f77b380d5bd1c86a5b6f77 /app/helpers/application_helper.rb
parent0022f3e1ce95b538315fa29fd654eb3a2d923b5d (diff)
downloadthoughts-9fa88ab910919f79ade4355b3daffd5aaec1ca58.tar.gz
thoughts-9fa88ab910919f79ade4355b3daffd5aaec1ca58.tar.bz2
thoughts-9fa88ab910919f79ade4355b3daffd5aaec1ca58.zip
Added some self links
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 14d56cf..f883e71 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb
@@ -30,4 +30,12 @@ module ApplicationHelper
30 Redcarpet::Markdown.new(HTML.new(html_options), options).render(text).html_safe 30 Redcarpet::Markdown.new(HTML.new(html_options), options).render(text).html_safe
31 end 31 end
32 32
33 def links_sidebar
34 [
35 { title: "Projects", url: "https://code.fourisland.com/" },
36 { title: "Mastodon", url: "https://beppo.online/@starlight", extra: { rel: "me" } },
37 { title: "Fanfiction", url: "https://archiveofourown.org/users/StarlightSystem" }
38 ]
39 end
40
33end 41end