From 43c3187fce95d45a3e9e5d13a3af5c4167e2dc14 Mon Sep 17 00:00:00 2001 From: runningstream Date: Sat, 18 Jan 2020 22:40:29 -0700 Subject: Added a little makefile to build quick, fixed url --- Makefile | 13 +++++++++++++ docs/index.html | 14 ++++++++++---- docs/sitemap.xml | 10 ---------- exampleSite/content/_index.md | 2 +- 4 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..757f6f0 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CONFIG_GH_PAGES := exampleSite/config_for_github_pages.toml +CONFIG := exampleSite/config.toml +CONTENT := exampleSite/content +THEMES := ../ +OUTPUT := docs + +docs: + hugo --config ${CONFIG_GH_PAGES} -c ${CONTENT} --themesDir ${THEMES} -d ${OUTPUT} + +server: + hugo --config ${CONFIG} -c ${CONTENT} --themesDir ${THEMES} server + +.PHONY: docs diff --git a/docs/index.html b/docs/index.html index c420116..de6c603 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,5 +1,7 @@ - + + + @@ -10,7 +12,7 @@ - + @@ -22,7 +24,11 @@ - + + + + +