hugo site

This commit is contained in:
Madison Scott-Clary
2019-03-06 00:31:57 -08:00
parent 748b3c1b30
commit 4386102543
174 changed files with 1843 additions and 522 deletions

25
jekyll/Makefile Normal file
View File

@ -0,0 +1,25 @@
.PHONY: run
run:
$(MAKE) -j2 run-jekyll watch-wordcounts
.PHONY: run-jekyll
run-jekyll:
-rm .jekyll-metadata
bundle exec jekyll serve -w -H 0.0.0.0
.PHONY: watch-wordcounts
watch-wordcounts:
while true; do \
for i in `find _posts -name "*.md"`; do \
if [ -n "`git status --porcelain $$i`" ]; then \
echo; \
prose-wc -u $$i; \
echo; \
sleep 30; \
fi; \
done; \
done
.PHONY: clean
clean:
rm -rf _site