mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
And notice shortcodes (#537)
* Added information panel shortcodes (#437) * Added information panel shortcodes * Fixed dark mixin * Moved mixin location to correct location Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Fix SCSS styling * Update generated files * Fix notice HTML * Fix Makefile * Rename JS file * Adsd emoji support for lang selectors * Fix notices and other things * Fix JS on template * Update example content * Update images * Update generated files * Fix netlify preview * Fix netlify preview build * Fix netlify theme path Co-authored-by: Jian Liew <jianloongliew@gmail.com>
This commit is contained in:
committed by
GitHub
parent
32ffc536aa
commit
ed1c854df2
20
Makefile
20
Makefile
@@ -1,20 +1,12 @@
|
||||
HUGO_BIN=hugo
|
||||
|
||||
.PHONY: prepare release build demo clean
|
||||
.PHONY: build demo release
|
||||
|
||||
build: prepare
|
||||
$(HUGO_BIN) --source demo
|
||||
build:
|
||||
$(HUGO_BIN) --themesDir=../.. --source=exampleSite
|
||||
|
||||
demo: prepare
|
||||
$(HUGO_BIN) server --buildDrafts --source demo
|
||||
demo:
|
||||
$(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite
|
||||
|
||||
release: build
|
||||
rm -rf ./resources && cp -r ./demo/resources ./resources
|
||||
|
||||
prepare: clean
|
||||
mkdir -p demo/themes/hugo-coder
|
||||
rsync -av exampleSite/ demo
|
||||
rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
|
||||
|
||||
clean:
|
||||
rm -rf demo
|
||||
rm -rf ./resources && cp -r ./exampleSite/resources ./resources
|
||||
|
||||
Reference in New Issue
Block a user