Compare commits
1 Commits
44fd94d6a5
...
2cf53d5c2b
| Author | SHA1 | Date |
|---|---|---|
|
|
2cf53d5c2b |
8
Makefile
8
Makefile
|
|
@ -39,9 +39,6 @@ deploy:
|
|||
clean:
|
||||
@rm -rf ./public ./resources ./assets/css/syntax.* ./layouts/partials/single/footer.html
|
||||
|
||||
public: ./assets/css/syntax.light.css ./assets/css/syntax.dark.css ./layouts/partials/single/footer.html
|
||||
hugo --environment production --minify --gc --templateMetrics --templateMetricsHints --verbose --enableGitInfo
|
||||
|
||||
assets: ./assets/css/syntax.light.css ./assets/css/syntax.dark.css ./layouts/partials/single/footer.html
|
||||
|
||||
HUGO_BIN = $(GOBIN)/hugo
|
||||
|
|
@ -62,7 +59,7 @@ $(OPENRING_BIN):
|
|||
hugo gen chromastyles --style=github-dark > assets/css/syntax.dark.css
|
||||
|
||||
./layouts/partials/single/footer.html: $(OPENRING_BIN)
|
||||
mkdir -p ./layouts/partials/single/
|
||||
mkdir -p ./layouts/partials/single
|
||||
$(OPENRING_BIN) \
|
||||
-s https://dave.cheney.net/feed/atom \
|
||||
-s https://tech.davis-hansson.com/index.xml \
|
||||
|
|
@ -71,3 +68,6 @@ $(OPENRING_BIN):
|
|||
< ./assets/openring.in.html \
|
||||
> ./layouts/partials/single/footer.html
|
||||
|
||||
public: ./assets/css/syntax.light.css ./assets/css/syntax.dark.css ./layouts/partials/openring.out.html
|
||||
hugo --minify --gc --templateMetrics --templateHints --verbose --enableGitInfo
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue