1
0
Fork 0

gemini publish

This commit is contained in:
Kaan Barmore-Genç 2022-03-13 17:50:27 -04:00
parent 7322ad8d18
commit 68bdee4bbb
12 changed files with 34 additions and 1 deletions

30
Makefile Normal file
View file

@ -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/

0
bash.gmi Normal file
View file

View file

@ -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/). 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`.

0
customizing-emacs.gmi Normal file
View file

0
duplicity.gmi Normal file
View file

0
emacs-as-an-os.gmi Normal file
View file

View file

0
mpv.gmi Normal file
View file

0
pass.gmi Normal file
View file

0
publications.gmi Normal file
View file

0
raid.gmi Normal file
View file

View file

@ -21,7 +21,7 @@
(when (not= slug "index") [:a.home {:href "/"} "Home"]) (when (not= slug "index") [:a.home {:href "/"} "Home"])
[:img.picture {:alt "A photo of Kaan, after his OOPSLA 2019 talk." :src "/img/profile.jpg"}] [:img.picture {:alt "A photo of Kaan, after his OOPSLA 2019 talk." :src "/img/profile.jpg"}]
[:div.name "Kaan Barmore-Genç"] [:div.name "Kaan Barmore-Genç"]
[:div.title "M.S. Software Engineer"] [:div.title "M.S."]
[:div.spacer] [:div.spacer]
[:div.title "Software Engineer"] [:div.title "Software Engineer"]
[:div.affiliation [:a {:href "http://dendron.so/"} "Dendron"]] [:div.affiliation [:a {:href "http://dendron.so/"} "Dendron"]]