Compare commits
1 Commits
2cf53d5c2b
...
44fd94d6a5
| Author | SHA1 | Date |
|---|---|---|
|
|
44fd94d6a5 |
8
Makefile
8
Makefile
|
|
@ -39,6 +39,9 @@ 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
|
||||
|
|
@ -59,7 +62,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 \
|
||||
|
|
@ -68,6 +71,3 @@ $(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