Commit Graph

4 Commits

Author SHA1 Message Date
Akihiko Odaki
ef44c62d17 Do not default site_title with site_hostname in InstanceHelper ()
site_title is "Mastodon" by default configuration, and there is no need to
default site_title with site_hostname in InstanceHelper.
2018-03-04 20:29:49 +01:00
Yamagishi Kazutoshi
bb96ba13cf Fallback to site_hostname when site_title is empty () 2017-07-27 15:13:49 +02:00
Akihiko Odaki
dfc43a6d3d Use around hook to restore context in InstanceHelper spec () 2017-05-30 06:32:33 -04:00
Matt Jankowski
389f8f8249 Instance helper to replace site title helper ()
* Move site title helper to instance helper (name change only)

* Remove newline in <title> tag

* Add site_hostname helper method to wrap up local_domain value

* Use site_hostname helper in places that need local_domain value
2017-04-18 00:16:32 +02:00