Compare commits
2 commits
17cfa5061b
...
57c0b13473
Author | SHA1 | Date | |
---|---|---|---|
57c0b13473 | |||
a5feb671ff |
3 changed files with 2 additions and 10 deletions
|
@ -14,8 +14,6 @@ This project runs **Quartz 4**, a fast, batteries-included static site generator
|
|||
|
||||
While Quartz provides [Docker support](https://quartz.jzhao.xyz/features/Docker-Support), it is not as self contained as this project.
|
||||
|
||||
This container uses my fork of Quartz, as my [PR](https://github.com/jackyzha0/quartz/pull/1725) for JSON-based configuration was not accepted due to design considerations.
|
||||
|
||||
I explored several alternative approaches for configuration within this container, but none met my criteria for simplicity—specifically, avoiding the need to mount the entire site source and instead only requiring a dedicated `content` and `config` directory.
|
||||
|
||||
## 🚀 Features
|
||||
|
|
|
@ -11,11 +11,5 @@ services:
|
|||
ENABLE_CRON: "true"
|
||||
BUILD_SCHEDULE: "*/10 * * * *"
|
||||
volumes:
|
||||
- quartz-deps:/usr/share/nginx/html/node_modules
|
||||
- /srv/quartz/content:/content
|
||||
- /srv/quartz/config:/config
|
||||
|
||||
volumes:
|
||||
quartz-deps:
|
||||
driver: local
|
||||
- /srv/quartz/content:/quartz
|
||||
```
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: "CHANGEME"
|
||||
title: ModernLeft - CHANGEME
|
||||
draft: false
|
||||
date: <% tp.file.creation_date("YYYY-MM-DD") %>
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue