From 12abb92c5e574ade66bfe910d457a6c24f286736 Mon Sep 17 00:00:00 2001 From: mez Date: Mon, 5 May 2025 16:18:04 +0100 Subject: [PATCH] Load CSS from relative path --- export.el | 2 +- identify.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/export.el b/export.el index 05be929..a6af0c3 100644 --- a/export.el +++ b/export.el @@ -27,7 +27,7 @@ t nil)) -(setq org-html-head (concat "\n\n\n\n\n\n\n\n\n\n\n\n\n")) +(setq org-html-head (concat "\n\n\n\n\n\n\n\n\n\n\n\n\n")) (defun org-html-template (contents info) "Return complete document string after HTML conversion. diff --git a/identify.py b/identify.py index d9f1bba..a30af69 100644 --- a/identify.py +++ b/identify.py @@ -73,7 +73,7 @@ posts = sorted(posts,key=lambda d: d["date"],reverse=True) writeindex = open("build/index.html","w") -writeindex.write("\n\n\n\n\npraze • Notes\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n
\n
\n

Notes

\n

This is the part of the site where I post long-ish-form writing I seem to have the embarrassing need to share … I guess you’d call it a blog.

\n

Posts are listed in reverse chronological order. Please be aware of posting dates – my opinions are constantly changing and evolving, and the longer ago something was written, the more likely it is that I’ll have since come to disagree with it completely … or in the case of more technical stuff, details may simply be out of date.

\n

Some of these posts were originally made on a now-deleted Dreamwidth account. Toggle the boxes to show/hide posts in the relevant category.

\n\n\n\n\n\n\n\n\n\n\n
    \n") +writeindex.write("\n\n\n\n\npraze • Notes\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    \n
    \n
    \n

    Notes

    \n

    This is the part of the site where I post long-ish-form writing I seem to have the embarrassing need to share … I guess you’d call it a blog.

    \n

    Posts are listed in reverse chronological order. Please be aware of posting dates – my opinions are constantly changing and evolving, and the longer ago something was written, the more likely it is that I’ll have since come to disagree with it completely … or in the case of more technical stuff, details may simply be out of date.

    \n

    Some of these posts were originally made on a now-deleted Dreamwidth account. Toggle the boxes to show/hide posts in the relevant category.

    \n\n\n\n\n\n\n\n\n\n\n
      \n") for post in posts: poststring = "
    • " + post["date"] + " "