separate into files

This commit is contained in:
Your Name 2025-12-06 06:09:42 -05:00
parent 8f94aee2bc
commit 8cb86a87a3
8 changed files with 168 additions and 110 deletions

24
elisp/blog-settings.el Normal file
View file

@ -0,0 +1,24 @@
(defun open-site () (interactive)(dired "/ssh:admin@feelinblue.wiki#9051:/usr/local/www/nanachi/"))
(defun insert-html-keybind (keybind)
(interactive "sKeybind:")
(insert "<span class=\"keybind\">" keybind "</span>")
)
(defun insert-html-blogpost-tag (tag)
(interactive "sTag:")
(insert "<span class=\"tag-" tag "\"><a href=\"blog/" tag ".html\">" tag"</a></span>")
)
(defun insert-html-template ()
(interactive)
(insert "<!DOCTYPE html>
<head>
<link rel=\"stylesheet\" href=\"/css/style.css\">
<meta charset=\"utf-8\">
</head>
<body>
<a href=".."> Back</a>
</body>
</html>
")
)
(provide 'blog-settings)