mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
remove hostname from serving info
This commit is contained in:
parent
cdc142592a
commit
9a9d000c74
2 changed files with 2 additions and 11 deletions
|
@ -15,11 +15,8 @@ footer#footer
|
||||||
br
|
br
|
||||||
|
|
||||||
#serving_info
|
#serving_info
|
||||||
' Powered by the
|
' Powered by
|
||||||
a href="https://github.com/derpibooru/philomena" philomena project
|
a> href="https://github.com/philomena-dev/philomena" philomena
|
||||||
br
|
|
||||||
' Served by
|
|
||||||
=> hostname()
|
|
||||||
| (
|
| (
|
||||||
= render_time(@conn)
|
= render_time(@conn)
|
||||||
| ms)
|
| ms)
|
||||||
|
|
|
@ -18,12 +18,6 @@ defmodule PhilomenaWeb.LayoutView do
|
||||||
|> Float.to_string()
|
|> Float.to_string()
|
||||||
end
|
end
|
||||||
|
|
||||||
def hostname() do
|
|
||||||
{:ok, host} = :inet.gethostname()
|
|
||||||
|
|
||||||
host |> to_string
|
|
||||||
end
|
|
||||||
|
|
||||||
defp ignored_tag_list(nil), do: []
|
defp ignored_tag_list(nil), do: []
|
||||||
defp ignored_tag_list([]), do: []
|
defp ignored_tag_list([]), do: []
|
||||||
defp ignored_tag_list([{tag, _body, _dnp_entries}]), do: [tag.id]
|
defp ignored_tag_list([{tag, _body, _dnp_entries}]), do: [tag.id]
|
||||||
|
|
Loading…
Reference in a new issue