convenient generation
This commit is contained in:
parent
4205d64ff6
commit
3b34e0d0e0
@ -15,6 +15,8 @@
|
|||||||
|
|
||||||
### Generate `lumbung[dot]space` posts
|
### Generate `lumbung[dot]space` posts
|
||||||
|
|
||||||
|
Do this manually first:
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir -p content
|
mkdir -p content
|
||||||
python3 -m venv .venv && source .venv/bin/activate
|
python3 -m venv .venv && source .venv/bin/activate
|
||||||
@ -27,3 +29,5 @@ lumbunglib-cal
|
|||||||
export OUTPUT_DIR=content/video
|
export OUTPUT_DIR=content/video
|
||||||
lumbunglib-vid
|
lumbunglib-vid
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Afterwards, you can automatically run it with `make gen`.
|
||||||
|
6
makefile
6
makefile
@ -3,4 +3,10 @@ DEFAULT: serve
|
|||||||
serve:
|
serve:
|
||||||
@hugo serve
|
@hugo serve
|
||||||
|
|
||||||
|
gen:
|
||||||
|
@CALENDAR_URL="https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"; \
|
||||||
|
OUTPUT_DIR=content/calendar; \
|
||||||
|
lumbunglib-cal && \
|
||||||
|
OUTPUT_DIR=content/video lumbunglib-vid
|
||||||
|
|
||||||
.PHONY: serve
|
.PHONY: serve
|
||||||
|
Loading…
Reference in New Issue
Block a user