From 68bdee4bbbd1e59ff72e77dc7c70194dfe95f53d Mon Sep 17 00:00:00 2001 From: Kaan Genc Date: Sun, 13 Mar 2022 17:50:27 -0400 Subject: [PATCH] gemini publish --- Makefile | 30 ++++++++++++++++++++++++++++ bash.gmi | 0 content/index.markdown | 3 +++ customizing-emacs.gmi | 0 duplicity.gmi | 0 emacs-as-an-os.gmi | 0 getting-deus-ex-running-on-linux.gmi | 0 mpv.gmi | 0 pass.gmi | 0 publications.gmi | 0 raid.gmi | 0 src/site/core.clj | 2 +- 12 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 Makefile create mode 100644 bash.gmi create mode 100644 customizing-emacs.gmi create mode 100644 duplicity.gmi create mode 100644 emacs-as-an-os.gmi create mode 100644 getting-deus-ex-running-on-linux.gmi create mode 100644 mpv.gmi create mode 100644 pass.gmi create mode 100644 publications.gmi create mode 100644 raid.gmi diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..255dc24 --- /dev/null +++ b/Makefile @@ -0,0 +1,30 @@ +# This makefile builds the website to be published. +# For the HTTP/HTML portion, that's pushed to Github pages. +# For the gemini portion, that's also pushed to my gemini server by this makefile. +source_files := $(shell find content/*.md) +target_files := $(patsubst content/%.md,gemini/%.gmi,$(source_files)) + +.PHONY: default +default: publish build-html + +gemini/%.gmi: content/%.md + lowdown -tgemini $< > $@ + +.PHONY: build-gemini +build-gemini: $(target_files) + cp gemini/_index.gmi gemini/index.gmi + for file in $(target_files) ; do \ + echo "=> $$file" | sed 's/gemini//' >> gemini/index.gmi ; \ + done + +.PHONY: build-html +build-html: + boot publish + +.PHONY: clean +clean: + echo ${target_files} + +.PHONY: publish +publish: $(target_files) + rsync -av content/img content/extra gemini/index.gmi $^ gemini.bgenc.net:/var/gemini/ diff --git a/bash.gmi b/bash.gmi new file mode 100644 index 0000000..e69de29 diff --git a/content/index.markdown b/content/index.markdown index 605526d..50536d5 100644 --- a/content/index.markdown +++ b/content/index.markdown @@ -10,3 +10,6 @@ page](https://github.com/SeriousBug). I published several papers and participated in academic reviews during graduate school, which you can find [links to here](/publications/). +This website is also available on the gemini protocol as [gemini.bgenc.net](gemini://gemini.bgenc.net). +Please see the ["Clients" section on this page](https://gemini.circumlunar.space/software/) +to find a client, then connect to `gemini.bgenc.net`. diff --git a/customizing-emacs.gmi b/customizing-emacs.gmi new file mode 100644 index 0000000..e69de29 diff --git a/duplicity.gmi b/duplicity.gmi new file mode 100644 index 0000000..e69de29 diff --git a/emacs-as-an-os.gmi b/emacs-as-an-os.gmi new file mode 100644 index 0000000..e69de29 diff --git a/getting-deus-ex-running-on-linux.gmi b/getting-deus-ex-running-on-linux.gmi new file mode 100644 index 0000000..e69de29 diff --git a/mpv.gmi b/mpv.gmi new file mode 100644 index 0000000..e69de29 diff --git a/pass.gmi b/pass.gmi new file mode 100644 index 0000000..e69de29 diff --git a/publications.gmi b/publications.gmi new file mode 100644 index 0000000..e69de29 diff --git a/raid.gmi b/raid.gmi new file mode 100644 index 0000000..e69de29 diff --git a/src/site/core.clj b/src/site/core.clj index d935190..bb20379 100644 --- a/src/site/core.clj +++ b/src/site/core.clj @@ -21,7 +21,7 @@ (when (not= slug "index") [:a.home {:href "/"} "Home"]) [:img.picture {:alt "A photo of Kaan, after his OOPSLA 2019 talk." :src "/img/profile.jpg"}] [:div.name "Kaan Barmore-Genç"] - [:div.title "M.S. Software Engineer"] + [:div.title "M.S."] [:div.spacer] [:div.title "Software Engineer"] [:div.affiliation [:a {:href "http://dendron.so/"} "Dendron"]]