diff options
| -rw-r--r-- | build-site.el | 12 | ||||
| -rw-r--r-- | src/about.org | 1 | ||||
| -rw-r--r-- | src/assets/stylesheet.css | 43 | ||||
| -rw-r--r-- | src/assets/tile.png | bin | 354 -> 0 bytes | |||
| -rw-r--r-- | src/blog/first-post.org | 1 | ||||
| -rw-r--r-- | src/contact.org | 1 | ||||
| -rw-r--r-- | src/index.org | 23 |
7 files changed, 74 insertions, 7 deletions
diff --git a/build-site.el b/build-site.el index 303bd14..4cc16eb 100644 --- a/build-site.el +++ b/build-site.el @@ -2,7 +2,10 @@ (setq org-html-validation-link nil org-html-head-include-scripts nil - ;; org-html-head-include-default-style nil + org-html-doctype "html5" + org-html-html5-fancy t + org-html-head-include-default-style nil + org-html-postamble nil org-html-head (with-temp-buffer (insert-file-contents "head.html") (buffer-string))) @@ -11,7 +14,7 @@ (let ((filename (org-publish-find-title entry project)) (date (org-publish-find-date entry project))) (format "%s - [[file:%s][%s]]" - (format-time-string "[%Y-%m-%d %^a]" date) + (format-time-string "[%F %a]" date) entry filename))) @@ -22,9 +25,7 @@ :base-directory "./src" :publishing-function 'org-html-publish-to-html :publishing-directory "./public" - :with-title nil - :with-author nil - :with-creator nil + ;; :with-title nil :with-toc nil :section-numbers nil :time-stamp-file nil) @@ -42,6 +43,7 @@ :section-numbers nil :with-toc nil :auto-sitemap t + :time-stamp-file nil :sitemap-title "blog posts" :sitemap-filename "index.org" :sitemap-sort-files 'anti-chronologically diff --git a/src/about.org b/src/about.org new file mode 100644 index 0000000..b625b66 --- /dev/null +++ b/src/about.org @@ -0,0 +1 @@ +#+TITLE: ABOUT diff --git a/src/assets/stylesheet.css b/src/assets/stylesheet.css index e69de29..079ce11 100644 --- a/src/assets/stylesheet.css +++ b/src/assets/stylesheet.css @@ -0,0 +1,43 @@ +.footpara +{ + display: inline; +} + +#content +{ + max-width: 60em; + margin: auto; +} + +body +{ + background-color: #101010; + color: white; +} + +.logo +{ + text-align: center; + color: limegreen; + user-select: none; + margin: 0; + padding: 0; + font-family: monospace; +} + +.logo:hover +{ + color: lime; +} + +nav +{ + font-family: monospace; + font-size: 1.2em; + text-align: center; +} + +ul li +{ + list-style-type: none; +} diff --git a/src/assets/tile.png b/src/assets/tile.png Binary files differdeleted file mode 100644 index 00f3c60..0000000 --- a/src/assets/tile.png +++ /dev/null diff --git a/src/blog/first-post.org b/src/blog/first-post.org index ca88623..16122a8 100644 --- a/src/blog/first-post.org +++ b/src/blog/first-post.org @@ -1,4 +1,5 @@ #+TITLE: first post +#+DATE: <2025-12-13> * hi this is a test post that mostly exists to check if the org mode publishing system works. diff --git a/src/contact.org b/src/contact.org new file mode 100644 index 0000000..c04e19e --- /dev/null +++ b/src/contact.org @@ -0,0 +1 @@ +#+TITLE: CONTACT diff --git a/src/index.org b/src/index.org index 07ee25a..36d5bfd 100644 --- a/src/index.org +++ b/src/index.org @@ -1,5 +1,24 @@ +#+OPTIONS: title:nil #+TITLE: LEMURIAN MAGE -* Blog posts -#+INCLUDE: "blog/index.org" :lines "3-" +#+ATTR_HTML: :class logo +#+BEGIN_EXAMPLE +@@@ @@@@@@@@ @@@@@@@@@@ @@@ @@@ @@@@@@@ @@@ @@@@@@ @@@ @@@ +@@! @@! @@! @@! @@! @@! @@@ @@! @@@ @@! @@! @@@ @@!@!@@@ +@!! @!!!:! @!! !!@ @!@ @!@ !@! @!@!!@! !!@ @!@!@!@! @!@@!!@! +!!: !!: !!: !!: !!: !!! !!: :!! !!: !!: !!! !!: !!! +: ::.: : : :: ::: : : :.:: : : : : : : : : :: : + +@@@@@@@@@@ @@@@@@ @@@@@@@ @@@@@@@@ +@@! @@! @@! @@! @@@ !@@ @@! +@!! !!@ @!@ @!@!@!@! !@! @!@!@ @!!!:! +!!: !!: !!: !!! :!! !!: !!: + : : : : : :: :: : : :: ::: +#+END_EXAMPLE +#+BEGIN_nav +[ [[file:about.org][about]] ] [ [[file:blog/index.org][blog]] ] [ [[file:contact.org][contact]] ] +#+END_nav +* Recent posts + +#+INCLUDE: "blog/index.org" :lines "3-8" |
