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 >> $@; \
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; \
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; \
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><html><head><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>$TITLE</title><style>body,html{background:#000;color:#fff;font-family:monospace;}.cern-blue{color:#397ef6;}a,a:visited{color:#fff;}p{margin:0;padding:0}#post p{margin:12px 0;margin:revert;}#post{max-width:1024px;}code{border:1px solid #00ff00;border-radius:5px;color:#00ffff;}</style></head><body>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+"http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta property="og:title" content="$TITLE">
+<meta property="og:description" content="$DESCRIPTION">
+$OG_IMAGE
+<title>$TITLE</title>
+<style type="text/css">body,html{background:#000;color:#fff;font-family:monospace;}.cern-blue{color:#397ef6;}a,a:visited{color:#fff;}p{margin:0;padding:0}#post p{margin:12px 0;margin:revert;}#post{max-width:1024px;}code{border:1px solid #00ff00;border-radius:5px;color:#00ffff;}</style>
+</head>
+<body>
-<meta name="og:title" content="based.quest">
-<meta name="og:description" content="A very based website. A quest on its own. Hosting and curated privacy-oriented based projects by a sysadmin prick.">
-<p>> curl based.quest -v</p>
-<p>* Trying 127.0.0.1:80...</p>
-<p>* Connected to based.quest (127.0.0.1) port 80 (#0)</p>
-<p>> GET / HTTP 1.1</p>
-<p>> Host: based.quest</p>
-<p>> User-Agent: curl/b.45.3d</p>
-<p>> Accept */*</p>
-<p>></p>
-<br>
-<p>< HTTP/1.1 200 OK</p>
-<p>< Server: nginx</p>
-<p>< Date: Right now o'clock</p>
-<p>< Content-Type: base/based</p>
-<p>< Last-Modified: Doesn't need to be modified, is perfect as-is.</p>
-<p>< Connection: keep-alive</p>
-<br>
-<p>based</p>
-<br>
-<br>
+<p>> curl based.quest -v<br>
+* Trying 127.0.0.1:80...<br>
+* Connected to based.quest (127.0.0.1) port 80 (#0)<br>
+> GET / HTTP 1.1<br>
+> Host: based.quest<br>
+> User-Agent: curl/b.45.3d<br>
+> Accept */*<br>
+><br><br></p>
+
+<p>< HTTP/1.1 200 OK<br>
+< Server: nginx<br>
+< Date: Right now o'clock<br>
+< Content-Type: base/based<br>
+< Last-Modified: Doesn't need to be modified, is perfect as-is.<br>
+< Connection: keep-alive<br><br></p>
+<p>based<br><br></p>
<p class="cern-blue">Quick-links to services I host: <a href="https://iv.based.quest">Invidious</a>, <a href="https://searx.cernodile.com">Searx</a>, <a href="https://piped.based.quest">Piped</a>.</p>
-<p class="cern-blue">Hall of Based: <a href="https://reactos.org">ReactOS</a>, <a href="https://matrix.org">Matrix</a>, <a href="https://postmarketos.org">PostmarketOS</a>, <a href="https://pine64.org">Pine64</a>, <a href="https://landchad.net">Landchad.net</a></p>
-<br>
+<p class="cern-blue">Hall of Based: <a href="https://reactos.org">ReactOS</a>, <a href="https://matrix.org">Matrix</a>, <a href="https://postmarketos.org">PostmarketOS</a>, <a href="https://pine64.org">Pine64</a>, <a href="https://landchad.net">Landchad.net</a><br><br></p>
<h2>Personal Blog of Cernodile</h2>