404: Not Found
+ href="xertun.webp">
From fe26027d241c84ba5a41bda57673058302c933f6 Mon Sep 17 00:00:00 2001 From: bearfm <77757734+bearfm@users.noreply.github.com> Date: Sat, 27 Jan 2024 14:28:45 -0800 Subject: [PATCH] more stuff --- Makefile | 10 ++++-- dist/404.html | 3 +- dist/blog/firstPost.html | 1 + dist/blog/index.html | 12 +++++-- dist/blogIndex.min.js | 2 +- dist/blogindex.txt | 4 +-- dist/coolLinks.html | 32 +++++++++++++++++ dist/css/blogIndex.css | 1 + dist/css/center.css | 1 + dist/css/style.css | 2 +- dist/download/88x31.png | Bin 0 -> 4122 bytes dist/git/index.html | 5 +-- dist/index.html | 2 ++ dist/sitemap.xml | 1 + js/blogIndex.js | 71 ++++++++++++++++++++++++++++---------- src/404.md | 3 +- src/blog/firstPost.md | 1 + src/blog/index.md | 12 +++++-- src/coolLinks.md | 11 ++++++ src/git/index.md | 3 +- src/index.md | 5 ++- src/scss/center.scss | 3 ++ src/scss/style.scss | 2 +- src/tmpl.html | 1 + static/download/88x31.png | Bin 0 -> 4122 bytes 25 files changed, 149 insertions(+), 39 deletions(-) create mode 100644 dist/coolLinks.html create mode 100644 dist/css/blogIndex.css create mode 100644 dist/css/center.css create mode 100644 dist/download/88x31.png create mode 100644 src/coolLinks.md create mode 100644 src/scss/center.scss create mode 100644 static/download/88x31.png diff --git a/Makefile b/Makefile index 5ee812e..47f0da3 100644 --- a/Makefile +++ b/Makefile @@ -67,14 +67,18 @@ $(DISTDIR)/sitemap.xml: $(HTMLFILES) done @echo '' >> $@ -$(DISTDIR)/blogindex.txt: $(HTMLFILES) +$(DISTDIR)/blogindex.txt: $(MDFILES) @> $@ @for f in $^; do \ - uri="$(URI)$${f#$(DISTDIR)}"; \ + uri="$(URI)$${f#$(SRCDIR)}"; \ if [[ "$$uri" == "$(URI)/blog/"* ]]; then \ - echo "$$uri" >> $@; \ + creation_date=$$(stat -c %Y $$f); \ + uri=$$(echo "$$uri" | sed 's/\.md$$/.html/'); \ + echo "$$creation_date $$uri" >> $@; \ fi; \ done + @sort -n -k1 -o $@ $@ + .PHONY: clean clean: rm -rfv $(DISTDIR)/* diff --git a/dist/404.html b/dist/404.html index 5542faa..1e5e43f 100644 --- a/dist/404.html +++ b/dist/404.html @@ -10,6 +10,7 @@ +