summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-20 12:27:14 +0000
committerJordan Bracco <href@random.sh>2022-12-20 19:29:42 +0100
commitaccc58f9e2569c5269b54031f563d9d2c0acd487 (patch)
tree0a016cfdf9e2c3fbecbbbb3b71484db215b67326
parentchore(plugins)!: remove deprecated outline plugin, refs T77. (diff)
chore: config example update, add version to footer, remove useless module, refs T77.
-rw-r--r--config/config.exs4
-rw-r--r--lib/irc/conns.ex3
-rw-r--r--lib/web/templates/layout/app.html.eex3
3 files changed, 5 insertions, 5 deletions
diff --git a/config/config.exs b/config/config.exs
index c5c5bd8..5b909f1 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -43,11 +43,11 @@ config :nola, NolaWeb.Endpoint,
config :mime, :types, %{"text/event-stream" => ["sse"]}
-config :nola, Nola.IRC.LastFmHandler,
+config :nola, :lastfm,
api_key: "x",
api_secret: "x"
-config :nola, Nola.IRC.YouTubeHandler,
+config :nola, :youtube,
api_key: "x",
invidious: "yewtu.be"
diff --git a/lib/irc/conns.ex b/lib/irc/conns.ex
deleted file mode 100644
index b0e5d3c..0000000
--- a/lib/irc/conns.ex
+++ /dev/null
@@ -1,3 +0,0 @@
-defmodule IRC.Conns do
-
-end
diff --git a/lib/web/templates/layout/app.html.eex b/lib/web/templates/layout/app.html.eex
index c774369..b3199e2 100644
--- a/lib/web/templates/layout/app.html.eex
+++ b/lib/web/templates/layout/app.html.eex
@@ -120,6 +120,9 @@
<div class="bg-white h-full rounded-lg shadow px-5 py-6 sm:px-6">
<%= @inner_content %>
</div>
+ <div mt-4 text-grey text-small">
+ v<%= Nola.version() %> <a href="<%= Nola.source_url() %>">source</a>
+ </div>
<!-- /End replace -->
</div>
</main>