M Makefile => Makefile +6 -9
@@ 1,7 1,8 @@
.PHONY: all build clean deps styles
-TOKEN = `cat ../.env/TOKEN`
+TOKEN = `cat ../../.env/TOKEN`
SITE = "tim-ats-d.srht.site"
+TARGET = "_build/_site"
all: build styles
@@ 10,11 11,10 @@ build: styles
clean:
dune clean
- rm -rf build
deploy: clean all
- cd build && tar -cvz . > site.tar.gz && \
- curl --oauth2-bearer $(TOKEN) -Fcontent=@site.tar.gz https://pages.sr.ht/publish/$(SITE) && \
+ cd $(TARGET) && tar -cvz . > ../site.tar.gz && \
+ curl --oauth2-bearer $(TOKEN) -Fcontent=@../site.tar.gz https://pages.sr.ht/publish/$(SITE) && \
echo "=> Published."
deps:
@@ 24,8 24,5 @@ deps:
echo "Please install SASS from <https://sass-lang.com/install>"
styles:
- sass styles/default.sass:build/styles/default.css
- python3 bin/highlighter.py --css build/styles/syntaxic_color.css
-
-fmt:
- dune build @fmt --auto-promote
+ sass styles/default.sass:$(TARGET)/styles/default.css
+ python3 bin/highlighter.py --css $(TARGET)/styles/syntaxic_color.css
M bin/site.ml => bin/site.ml +1 -1
@@ 1,6 1,6 @@
open Yocaml
-let destination = "build"
+let destination = "_build/_site"
let article_destination file =
let fname = basename file in
M pages/index.md => pages/index.md +4 -2
@@ 2,8 2,10 @@ I'm Tim, a French student and computer sciences enthusiast. I am primarily inter
Here is my personnal homepage where apart from this page everything is unfortunately written in French.
-I now post my blog posts on the [geminispace](https://gemini.circumlunar.space/), see [gemini://heyplzlookat.me](gemini://heyplzlookat.me). If you don't want to install a gemini client, here is a [gemini-to-http proxy](https://portal.mozz.us/gemini/heyplzlookat.me/articles/).
+I a now active on the [geminispace](https://gemini.circumlunar.space/), see [gemini://heyplzlookat.me](gemini://heyplzlookat.me). If you don't want to install a gemini client, here is a [gemini-to-http proxy](https://heyplzlookat.me/).
You can check my [Github](https://github.com/Tim-ats-d) and my [sourcehut](https://sr.ht/~tim-ats-d/) where I publish various projects.
-Feel free to send me an email, `tim.arnouts @ protonmail . com`.
+## Contact
+
+Feel free to send me an email, `tim.arnouts@protonmail.com`.