summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-27 19:25:52 +0100
committerErich Eckner <git@eckner.net>2019-11-27 19:25:52 +0100
commitd11ca4ffc9ec5a896d974191dd449eeb9820c17c (patch)
tree4759e775bc54fb23de7802f56fa9302c8cb20819
parent5d50bb028fa8965c78f86d0d329313401fd1c3cd (diff)
downloadlogbot-d11ca4ffc9ec5a896d974191dd449eeb9820c17c.tar.xz
logbot.py: add link to "latest"
-rwxr-xr-xlogbot.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/logbot.py b/logbot.py
index 23067dd..59ff280 100755
--- a/logbot.py
+++ b/logbot.py
@@ -329,6 +329,7 @@ class Logbot(SingleServerIRCBot):
# Create channel index
write_string("%s/index.html" % chan_path, html_header.replace("%title%", "%s | Logs" % channel_title))
+ append_line("%s/index.html" % chan_path, '<a href="latest.html">latest (bookmarkable)</a>')
# Append channel to log index
append_line("%s/index.html" % LOG_FOLDER, '<a href="%s/index.html">%s</a>' % (channel.replace("#", "%23"), channel_title))