Код: Выделить всё
content
|-- 2023
| |-- 01
| | |-- 01
| | | |-- plans-for-the-year.md
| | | +-- sdxjs-introduction.md
| | |-- 02
| | | +-- sdxjs-systems-programming.md
| | |-- 03
| | | +-- sdxjs-async-programming.md
| | |-- 04
| | | +-- sdxjs-unit-test.md
|-- 2024
| |-- 01
| | |-- 03
| | | +-- the-other-examples.md
|-- files
| |-- 2023
| | |-- awesome-robot.png
| | |-- blackberry-pie.jpg
+-- pages
+-- about.md
Код: Выделить всё
OUTPUT_SOURCES = False
SLUGIFY_SOURCE = "basename"
ARTICLE_URL = "{date:%Y}/{date:%m}/{date:%d}/{slug}/"
ARTICLE_SAVE_AS = "{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html"
PAGE_URL = "{slug}/"
PAGE_SAVE_AS = "{slug}/index.html"
code> как предложено в документации. Я мог бы добавить еще одну строку в Makefile, чтобы удалить эти ненужные файлы после сборки, но как я могу предотвратить их копирование?
- Пеликан: 4.10.0
- Python: 3.12.6
Подробнее здесь: https://stackoverflow.com/questions/790 ... put-folder