2021-01-08 00:03:33 +01:00
|
|
|
|
2021-01-11 20:33:53 +01:00
|
|
|
BASE_URL?=http://www.matternote.com
|
2021-01-08 00:03:33 +01:00
|
|
|
|
2021-01-07 23:12:26 +01:00
|
|
|
.PHONY: dist
|
|
|
|
dist:
|
|
|
|
rm -rf ./dist
|
2021-01-08 00:03:33 +01:00
|
|
|
hugo -s site --destination ../dist/html -b$(BASE_URL)
|
2021-01-07 23:12:26 +01:00
|
|
|
|
|
|
|
.PHONY: run
|
|
|
|
run:
|
|
|
|
hugo server --buildDrafts --disableFastRender -F -s site
|