From: Joann Mõndresku Date: Tue, 21 Dec 2021 06:07:36 +0000 (+0200) Subject: HTML 4.01 Strict DTD compliance. X-Git-Url: https://git.based.quest/%24URL?a=commitdiff_plain;h=adfee06df091b3da3c1208326312b7766815c822;p=web-old.git HTML 4.01 Strict DTD compliance. Only 1 error related to OpenGraph tags now, which use the property attribute. --- diff --git a/blogit b/blogit index 7cabbaa..e54f9e3 100755 --- a/blogit +++ b/blogit @@ -65,6 +65,8 @@ blog/index.html: $(ARTICLES) $(TAGFILES) $(addprefix templates/,$(addsuffix .htm mkdir -p blog TITLE="$(BLOG_TITLE)"; \ export TITLE; \ + DESCRIPTION="$(BLOG_DESCRIPTION)"; \ + export DESCRIPTION; \ envsubst < templates/header.html > $@; \ envsubst < templates/index_header.html >> $@; \ envsubst < templates/tag_list_header.html >> $@; \ @@ -103,7 +105,7 @@ tagpages: $(TAGFILES) blog/@%.html: $(TAGFILES) $(addprefix templates/,$(addsuffix .html,header tag_index_header tag_list_header tag_entry tag_separator tag_list_footer article_list_header article_entry article_separator article_list_footer tag_index_footer footer)) mkdir -p blog - TITLE="Articles tagged $*"; \ + TITLE="$(BLOG_TITLE) - Articles tagged $*"; \ TAGS="$*"; \ export TITLE; \ export TAGS; \ @@ -129,7 +131,7 @@ blog/@%.html: $(TAGFILES) $(addprefix templates/,$(addsuffix .html,header tag_in blog/%.html: $(BLOG_SRC)/%.md $(addprefix templates/,$(addsuffix .html,header article_header article_footer footer)) mkdir -p blog - TITLE="$(shell head -n1 $<)"; \ + TITLE=" $(BLOG_TITLE) - $(shell head -n1 $<)"; \ export TITLE; \ AUTHOR="$(shell git log -n 1 --reverse --format="%cn" -- "$<")"; \ export AUTHOR; \ diff --git a/templates/article_header.html b/templates/article_header.html index 4218d07..a0e33e9 100644 --- a/templates/article_header.html +++ b/templates/article_header.html @@ -1,7 +1,4 @@ - - -$OG_IMAGE -<-- Back +

<-- Back

$TITLE

Posted on $DATE_POSTED

diff --git a/templates/footer.html b/templates/footer.html index 65228db..6d1d648 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1 +1 @@ -

Join us at Matrix: #based-quest:cernodile.com

© 2021 - based.quest | Powered by blogit | Donate | Atom RSS

+



Join us at Matrix: #based-quest:cernodile.com

© 2021 - based.quest | Powered by blogit | Donate | Atom RSS

diff --git a/templates/header.html b/templates/header.html index 11f684f..2dc6e0c 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1 +1,13 @@ -$TITLE + + + + + + + +$OG_IMAGE +$TITLE + + + diff --git a/templates/index_header.html b/templates/index_header.html index 9670352..13cf453 100644 --- a/templates/index_header.html +++ b/templates/index_header.html @@ -1,25 +1,19 @@ - - -

> curl based.quest -v

-

* Trying 127.0.0.1:80...

-

* Connected to based.quest (127.0.0.1) port 80 (#0)

-

> GET / HTTP 1.1

-

> Host: based.quest

-

> User-Agent: curl/b.45.3d

-

> Accept */*

-

>

-
-

< HTTP/1.1 200 OK

-

< Server: nginx

-

< Date: Right now o'clock

-

< Content-Type: base/based

-

< Last-Modified: Doesn't need to be modified, is perfect as-is.

-

< Connection: keep-alive

-
-

based

-
-
+

> curl based.quest -v
+* Trying 127.0.0.1:80...
+* Connected to based.quest (127.0.0.1) port 80 (#0)
+> GET / HTTP 1.1
+> Host: based.quest
+> User-Agent: curl/b.45.3d
+> Accept */*
+>

+ +

< HTTP/1.1 200 OK
+< Server: nginx
+< Date: Right now o'clock
+< Content-Type: base/based
+< Last-Modified: Doesn't need to be modified, is perfect as-is.
+< Connection: keep-alive

+

based

Quick-links to services I host: Invidious, Searx, Piped.

-

Hall of Based: ReactOS, Matrix, PostmarketOS, Pine64, Landchad.net

-
+

Hall of Based: ReactOS, Matrix, PostmarketOS, Pine64, Landchad.net

Personal Blog of Cernodile