add support for custom footer links

This commit is contained in:
Andreas Nedbal 2022-12-22 23:42:45 +01:00 committed by Andreas Nedbal
parent 0335c28a69
commit 61c4033dfa
2 changed files with 9 additions and 0 deletions

View File

@ -10,3 +10,7 @@
= link_to t(".terms"), terms_path
·
= link_to t(".privacy"), privacy_policy_path
- if APP_CONFIG["links"].present?
- APP_CONFIG["links"].each do |link|
·
= link_to link["text"], link["url"]

View File

@ -35,6 +35,11 @@ about: |
Use this space to describe your Retrospring instance!
# Custom links in the footer
# links:
# - text: "Patreon"
# url: "https://patreon.com/retrospring"
# How many items (questions, answers, ...) do you want to show per page?
items_per_page: 10