File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 3939 - name : Run custom redirect script
4040 run : python replace_index_with_redirect.py
4141
42+ - name : Check generated output structure
43+ run : find output
44+
4245 - name : Create CNAME file
4346 run : echo "petermortimer.de" > output/CNAME
4447
Original file line number Diff line number Diff line change 22# -*- coding: utf-8 -*- #
33from __future__ import unicode_literals
44
5- # This file is only used if you use `make publish` or
6- # explicitly specify it as your config file.
7-
85import os
96import sys
107sys .path .append (os .curdir )
2017DELETE_OUTPUT_DIRECTORY = False
2118LOAD_CONTENT_CACHE = False
2219
23- # one of the static pages should appear as root of the page instead
24- # of the blog (check the pelican docs for the settings here:
25- # https://docs.getpelican.com/en/latest/settings.html)
20+ # Paths and URLs for articles (blog posts)
2621ARTICLE_URL = 'blog/{slug}.html'
2722ARTICLE_SAVE_AS = 'blog/{slug}.html'
2823CATEGORY_URL = 'blog/category/{slug}.html'
3126TAG_SAVE_AS = 'blog/tag/{slug}.html'
3227INDEX_SAVE_AS = 'blog/index.html'
3328
34- # Following items are often useful when publishing
29+ # ✅ Add these lines to ensure static pages (e.g. about.md) are built
30+ PAGE_PATHS = ['pages' ]
31+ PAGE_URL = '{slug}.html'
32+ PAGE_SAVE_AS = '{slug}.html'
3533
36- #DISQUS_SITENAME = ""
37- #GOOGLE_ANALYTICS = ""
34+ # Optional: turn on plugins, analytics, etc.
35+ # DISQUS_SITENAME = ""
36+ # GOOGLE_ANALYTICS = ""
You can’t perform that action at this time.
0 commit comments