about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.haml2
-rw-r--r--app/views/layouts/public.html.haml4
2 files changed, 2 insertions, 4 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index fbb48d621..7e28d27ec 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -14,7 +14,7 @@
       = "#{yield(:page_title)} - " if content_for?(:page_title)
       Mastodon
 
-    = stylesheet_link_tag    'application', media: 'all'
+    = stylesheet_link_tag 'application', media: 'all'
     = csrf_meta_tags
 
     = yield :header_tags
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index 0e56bef1f..e6de7d017 100644
--- a/app/views/layouts/public.html.haml
+++ b/app/views/layouts/public.html.haml
@@ -6,8 +6,6 @@
   .footer
     %span.domain= link_to Rails.configuration.x.local_domain, root_path
     %span.powered-by
-      \//
-      powered by
-      = link_to 'Mastodon', 'https://github.com/Gargron/mastodon'
+      = t('generic.powered_by', link: link_to('Mastodon', 'https://github.com/Gargron/mastodon')).html_safe
 
 = render template: "layouts/application"