diff --git a/lib/philomena_web/templates/layout/_footer.html.slime b/lib/philomena_web/templates/layout/_footer.html.slime index aec0ca3a..4b3f0587 100644 --- a/lib/philomena_web/templates/layout/_footer.html.slime +++ b/lib/philomena_web/templates/layout/_footer.html.slime @@ -15,11 +15,8 @@ footer#footer br #serving_info - ' Powered by the - a href="https://github.com/derpibooru/philomena" philomena project - br - ' Served by - => hostname() + ' Powered by + a> href="https://github.com/philomena-dev/philomena" philomena | ( = render_time(@conn) | ms) diff --git a/lib/philomena_web/views/layout_view.ex b/lib/philomena_web/views/layout_view.ex index 0e91f332..8caa9d4e 100644 --- a/lib/philomena_web/views/layout_view.ex +++ b/lib/philomena_web/views/layout_view.ex @@ -18,12 +18,6 @@ defmodule PhilomenaWeb.LayoutView do |> Float.to_string() end - def hostname() do - {:ok, host} = :inet.gethostname() - - host |> to_string - end - defp ignored_tag_list(nil), do: [] defp ignored_tag_list([]), do: [] defp ignored_tag_list([{tag, _body, _dnp_entries}]), do: [tag.id]