Add font css
This commit is contained in:
parent
d421b70c5b
commit
bb6dcfb055
5
makefile
5
makefile
|
@ -6,7 +6,7 @@ NETLIFY_DEPLOY ?= deploy -d public
|
|||
all: build
|
||||
|
||||
.PHONY: build
|
||||
build: static/styles.css ; @${HUGO}
|
||||
build: static/font.css static/styles.css ; @${HUGO}
|
||||
|
||||
.PHONY: public
|
||||
public: build
|
||||
|
@ -30,6 +30,9 @@ publish: clean-css public ; @netlify ${NETLIFY_DEPLOY} && echo "Run \`make publi
|
|||
.PHONY: publish-prod
|
||||
publish-prod: clean-css public ; @netlify ${NETLIFY_DEPLOY} --prod
|
||||
|
||||
static/font.css: src/stylus/font.styl
|
||||
stylus --compress $< -o $@
|
||||
|
||||
static/styles.css: src/stylus/styles.styl $(shell find src/stylus -regex ".*\.styl")
|
||||
stylus --compress $< -o $@
|
||||
|
||||
|
|
4
static/.gitignore
vendored
4
static/.gitignore
vendored
|
@ -1,2 +1,2 @@
|
|||
/styles.css
|
||||
/styles.css.map
|
||||
/*.css
|
||||
/*.css.map
|
||||
|
|
Loading…
Reference in a new issue