gemini publish
This commit is contained in:
parent
7322ad8d18
commit
68bdee4bbb
30
Makefile
Normal file
30
Makefile
Normal 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/
|
|
@ -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`.
|
||||
|
|
0
customizing-emacs.gmi
Normal file
0
customizing-emacs.gmi
Normal file
0
duplicity.gmi
Normal file
0
duplicity.gmi
Normal file
0
emacs-as-an-os.gmi
Normal file
0
emacs-as-an-os.gmi
Normal file
0
getting-deus-ex-running-on-linux.gmi
Normal file
0
getting-deus-ex-running-on-linux.gmi
Normal file
0
publications.gmi
Normal file
0
publications.gmi
Normal file
|
@ -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"]]
|
||||
|
|
Loading…
Reference in a new issue