Compare commits
No commits in common. "57c0b134730da965f99fae226790f593e42e1c8c" and "17cfa5061b2783d944365f866609a9793c944275" have entirely different histories.
57c0b13473
...
17cfa5061b
3 changed files with 10 additions and 2 deletions
|
@ -14,6 +14,8 @@ 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.
|
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.
|
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
|
## 🚀 Features
|
||||||
|
|
|
@ -11,5 +11,11 @@ services:
|
||||||
ENABLE_CRON: "true"
|
ENABLE_CRON: "true"
|
||||||
BUILD_SCHEDULE: "*/10 * * * *"
|
BUILD_SCHEDULE: "*/10 * * * *"
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/quartz/content:/quartz
|
- quartz-deps:/usr/share/nginx/html/node_modules
|
||||||
|
- /srv/quartz/content:/content
|
||||||
|
- /srv/quartz/config:/config
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
quartz-deps:
|
||||||
|
driver: local
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: ModernLeft - CHANGEME
|
title: "CHANGEME"
|
||||||
draft: false
|
draft: false
|
||||||
date: <% tp.file.creation_date("YYYY-MM-DD") %>
|
date: <% tp.file.creation_date("YYYY-MM-DD") %>
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue