summaryrefslogtreecommitdiffstats
path: root/plugins/move-tags.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/move-tags.lua')
-rw-r--r--plugins/move-tags.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/move-tags.lua b/plugins/move-tags.lua
new file mode 100644
index 0000000..a4eb025
--- /dev/null
+++ b/plugins/move-tags.lua
@@ -0,0 +1,7 @@
+tags = HTML.select_one(page, "#tags-list")
+title = HTML.select_one(page, "h1")
+
+if tags and title then
+ HTML.delete(tags)
+ HTML.insert_after(title, tags)
+end