Compare commits

..

No commits in common. "57c0b134730da965f99fae226790f593e42e1c8c" and "17cfa5061b2783d944365f866609a9793c944275" have entirely different histories.

3 changed files with 10 additions and 2 deletions

View file

@ -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.
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

View file

@ -11,5 +11,11 @@ services:
ENABLE_CRON: "true"
BUILD_SCHEDULE: "*/10 * * * *"
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
```

View file

@ -1,5 +1,5 @@
---
title: ModernLeft - CHANGEME
title: "CHANGEME"
draft: false
date: <% tp.file.creation_date("YYYY-MM-DD") %>
---