work on gemini distribution
This commit is contained in:
@@ -5,13 +5,23 @@ RES_DIR = res
|
||||
PAGES_DIR = $(SRC_DIR)/pages
|
||||
BLOG_DIR = $(SRC_DIR)/blog
|
||||
DIST_DIR = dist
|
||||
GEMINI_DIST_DIR = dist_gemini
|
||||
BUILD_DIR = build
|
||||
|
||||
PAGES = $(notdir $(wildcard $(PAGES_DIR)/*.html))
|
||||
BLOG_PAGES = $(wildcard $(BLOG_DIR)/*.md)
|
||||
TARGETS = $(addprefix $(DIST_DIR)/,$(PAGES))
|
||||
GEMINI_TARGETS = $(addprefix $(GEMINI_DIST_DIR)/,$(patsubst %.html, %.md, $(PAGES)))
|
||||
|
||||
all: $(PAGES_DIR)/blog.html $(TARGETS) favicon
|
||||
all: $(PAGES_DIR)/blog.html $(TARGETS)
|
||||
|
||||
mkdir_gemini:
|
||||
mkdir -p $(GEMINI_DIST_DIR)
|
||||
|
||||
$(GEMINI_DIST_DIR)/%.md: $(DIST_DIR)/%.html
|
||||
pandoc -f html -t markdown $(DIST_DIR)/$*.html -o $(GEMINI_DIST_DIR)/$*.md
|
||||
|
||||
gemini: all $(GEMINI_TARGETS) | mkdir_gemini
|
||||
|
||||
watch:
|
||||
find ./$(SRC_DIR) -iname '*.html' -o -name "*.css" | entr -d make -f ./Makefile ;
|
||||
|
||||
+5
-5
@@ -8,16 +8,16 @@ website.</p>
|
||||
<h2 id="motivation">Motivation</h2>
|
||||
<p>The motivation came of course from frustration with modern sites and
|
||||
a bit of nostalgia. But mainly I wanted the <a href="now.html">now()</a>
|
||||
and the <a href="about.html">about()</a> pages. They provide me with a
|
||||
public place to document what I’m on and what I believe and give me a
|
||||
corrective. I can’t remember where I read about it the first time, but I
|
||||
and the <a href="about.html">about()</a> pages. They provide me with
|
||||
a public place to document what I’m on and what I believe and give me a
|
||||
correctiv. I can’t remember where I read about it the first time, but I
|
||||
thought the idea was neat. Especially as more of a private person, it
|
||||
motivates me to keep going with things when I imagine people reading
|
||||
this.</p>
|
||||
<p>The design of this page is as bad as it is, because for once, it was
|
||||
the style at the time (be happy I don’t include a
|
||||
<code><marquee></code> tag. Worst loss of the net…) and secondly:
|
||||
I just suck at it. Deal with it :)</p>
|
||||
<code><marquee></code> tag. After all. Why not.) and secondly: I
|
||||
just suck at it. Deal with it :)</p>
|
||||
<p>Having programmed some time with modern JS/TS frameworks I’m a stark
|
||||
oppponent of this whole technology stack. It just adds - layers and
|
||||
layers - of - complexity over complexity - nobody ever got any chance to
|
||||
|
||||
Reference in New Issue
Block a user