Merge pull request #5199 from NamelessContributor/patch-1
Add back social icons to site footer.
This commit is contained in:
@@ -183,12 +183,29 @@
|
||||
</div>
|
||||
|
||||
<footer id="page-footer" class="text-sm flex-initial">
|
||||
<span class="page-footer-app-name" title="Running commit: <%= Rails.application.config.x.git_hash&.first(9) %>"><%= Danbooru.config.app_name %></span>
|
||||
<span class="page-footer-app-name"><%= Danbooru.config.app_name %></span>
|
||||
/ <%= link_to "Terms", terms_of_service_path %>
|
||||
/ <%= link_to "Privacy", privacy_policy_path %>
|
||||
/ <%= link_to "2257", usc_2257_path %>
|
||||
/ <%= link_to "Upgrade", new_user_upgrade_path %>
|
||||
/ <%= link_to "Contact", contact_path %>
|
||||
/
|
||||
<span class="social-icons">
|
||||
<% if Danbooru.config.source_code_url.present? %>
|
||||
<%= link_to Danbooru.config.source_code_url, title: "Running commit: #{Rails.application.config.x.git_hash&.first(9)}", class: "social-icon" do %>
|
||||
<%= github_icon %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if Danbooru.config.twitter_username.present? %>
|
||||
<%= link_to "https://twitter.com/#{Danbooru.config.twitter_username}", class: "social-icon" do %>
|
||||
<%= twitter_icon %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if Danbooru.config.discord_server_url.present? %>
|
||||
<%= link_to Danbooru.config.discord_server_url, class: "social-icon" do %>
|
||||
<%= discord_icon %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</span>
|
||||
</footer>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user