Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/kc0bfv/autophugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: af7db5a92ead128056eba26ef68f5b4a8a67f899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
EXAMPLE_SITE := exampleSite
CONFIG_GH_PAGES := config_for_github_pages.toml
CONFIG := config.toml
THEMES := ../../

public:
	hugo -s ${EXAMPLE_SITE} --config ${CONFIG_GH_PAGES} --themesDir ${THEMES}

server:
	hugo -s ${EXAMPLE_SITE} --themesDir ${THEMES} server

serverNoAlbum:
	hugo -s exampleSiteNoAlbum --themesDir ${THEMES} server

no_canonify_server_long_url_test:
	hugo -s ${EXAMPLE_SITE} --themesDir ${THEMES} server -b http://localhost:1313/themes/autophugo/

canonify_server_long_url_test:
	export HUGO_CANONIFYURLS=true && hugo -s ${EXAMPLE_SITE} --themesDir ${THEMES} server -b http://localhost:1313/themes/autophugo/

no_canonify_server_short_url_test:
	hugo -s ${EXAMPLE_SITE} --themesDir ${THEMES} server -b http://localhost:1313/

canonify_server_short_url_test:
	export HUGO_CANONIFYURLS=true && hugo -s ${EXAMPLE_SITE} --themesDir ${THEMES} server -b http://localhost:1313/


.PHONY: public server