aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-site.el15
-rw-r--r--src/about.org1
-rw-r--r--src/assets/stylesheet.css26
-rw-r--r--src/contact.org3
-rw-r--r--src/index.org8
5 files changed, 33 insertions, 20 deletions
diff --git a/build-site.el b/build-site.el
index 2d7eedc..609949f 100644
--- a/build-site.el
+++ b/build-site.el
@@ -1,11 +1,13 @@
+(package-initialize)
(require 'ox-publish)
+(require 'webfeeder)
(setq org-html-validation-link nil
org-html-head-include-scripts nil
org-html-doctype "html5"
org-html-html5-fancy t
org-html-head-include-default-style nil
- org-html-postamble nil
+ ;; org-html-postamble nil
org-html-head (with-temp-buffer
(insert-file-contents "head.html")
(buffer-string)))
@@ -27,6 +29,7 @@
:publishing-directory "./public"
;; :with-title nil
:with-toc nil
+ :html-postamble nil
:section-numbers nil
:time-stamp-file nil)
(list "assets"
@@ -49,6 +52,16 @@
:sitemap-sort-files 'anti-chronologically
:sitemap-format-entry 'custom/sitemap-format-entry)))
+(delete-directory "public" :recursive t)
+
(org-publish-all t)
+(webfeeder-build
+ "rss.xml"
+ "./public/blog"
+ "https://lemurianmage.srht.site"
+ (cddr (delete "index.html" (directory-files "public/blog"))) ; no "." and ".."
+ :title "lemurblog"
+ :builder 'webfeeder-make-rss
+ :build-date 0)
(message "Build done!")
diff --git a/src/about.org b/src/about.org
deleted file mode 100644
index b625b66..0000000
--- a/src/about.org
+++ /dev/null
@@ -1 +0,0 @@
-#+TITLE: ABOUT
diff --git a/src/assets/stylesheet.css b/src/assets/stylesheet.css
index 6aa41e0..3cd8431 100644
--- a/src/assets/stylesheet.css
+++ b/src/assets/stylesheet.css
@@ -1,9 +1,9 @@
:root
{
- --bg: #101010;
+ --bg: black;
--text: white;
- --main: palevioletred;
- --accent: hotpink;
+ --main: lime;
+ --accent: white;
}
.footpara
@@ -11,17 +11,18 @@
display: inline;
}
-#content
+/* i don't want to display the date but it needs to exist for rss generation */
+#postamble
{
- max-width: 80ch;
- margin: auto;
- font-family: serif;
+ visibility: hidden;
}
body
{
background-color: var(--bg);
color: var(--text);
+ max-width: 80ch;
+ margin: auto;
}
.logo
@@ -34,6 +35,12 @@ body
font-family: monospace;
}
+.buttons
+{
+ display: grid;
+ place-items: center;
+}
+
.logo:hover
{
color: var(--accent);
@@ -67,11 +74,6 @@ ul
list-style-type: circle;
}
-ol
-{
- list-style-type: upper-roman;
-}
-
hr
{
border-color: var(--main);
diff --git a/src/contact.org b/src/contact.org
index 376f400..5467882 100644
--- a/src/contact.org
+++ b/src/contact.org
@@ -10,8 +10,7 @@ I don't use social media that much, the only place you can really consistently f
If you like what I'm doing or you simply want to throw money at me here are all the ways in which you can do that.
- Monero:
-#+ATTR_HTML: :style overflow: auto;
- 83FxBRziyTQWuPKqGTesWGjLfM5Vai8QSbikur5zGHWKFc584cgmbKHjWpQoJzR9Su7NVEX9GVg23iksCKp8doBFCVSsGca
+=83FxBRziyTQWuPKqGTesWGjLfM5Vai8QSbikur5zGHWKFc584cgmbKHjWpQoJzR9Su7NVEX9GVg23iksCKp8doBFCVSsGca=
#+ATTR_HTML: :title Monero wallet qr code
[[file:assets/monero-qr.png]]
diff --git a/src/index.org b/src/index.org
index a938c74..8825438 100644
--- a/src/index.org
+++ b/src/index.org
@@ -1,6 +1,7 @@
#+OPTIONS: title:nil
#+TITLE: LEMURIAN MAGE
+# this fucking sucks but idk any other way to do ascii art in here lol
#+ATTR_HTML: :class logo
#+BEGIN_EXAMPLE
@@@ @@@@@@@@ @@@@@@@@@@ @@@ @@@ @@@@@@@ @@@ @@@@@@ @@@ @@@
@@ -18,15 +19,14 @@
#+END_EXAMPLE
#+BEGIN_pages
-[ [[file:about.org][about]] ] [ [[file:blog/index.org][blog]] ] [ [[file:contact.org][contact]] ] [ [[file:links.org][links]] ]
+[[file:blog/index.org][blog]] | [[file:contact.org][contact]] | [[file:links.org][links]] | [[file:blog/rss.xml][rss]]
#+END_pages
* Recent posts
#+INCLUDE: "blog/index.org" :lines "3-8"
#+HTML: <hr>
-#+ATTR_HTML: :style display: grid; place-items: center;
-#+BEGIN_div
+#+BEGIN_buttons
[[https://xenofem.me][file:assets/buttons/xnfm.png]]
[[https://magentahardcore.com][file:assets/buttons/n1l.gif]]
[[https://nyx.land][file:assets/buttons/unlife.png]]
@@ -35,5 +35,5 @@
[[https://gentoo.org][file:assets/buttons/gentoo-badge.png]]
[[https://www.gnu.org/software/emacs][file:assets/buttons/emacs.png]]
-#+END_div
+#+END_buttons