Compare commits

..

No commits in common. "33057892953fb73ed0cd4d210109219f8f6ec350" and "333f68585ae02dfd83b0b3d2da9528cb94d7051b" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View file

@ -3,7 +3,7 @@ build:
- virtualenv venv
- source venv/bin/activate
- pip install -r requirements.txt
- patch venv/lib/python3.5/site-packages/pelican/readers.py -i patch/pelican_readers.patch
- patch venv/lib/python3.7/site-packages/pelican/readers.py -i patch/pelican_readers.patch
- make publish
- rm -rf /var/www/webapp_doohoyi/nosignal.hopto.org_site/ci/website
- cp -r public /var/www/webapp_doohoyi/nosignal.hopto.org_site/ci/website

View file

@ -4,12 +4,3 @@
- Check the resulting website here: <https://nosignal.hopto.org/site/ci/website>
- utilizing 'SparkleShare' for real-time sync.
- CI powered by server-side gitlab-runner !
## patch applied
- if there is no 'title' in '.rst' file, FILENAME_METADATA = '(?P\<title\>.*)' doesn't work!
- it works fine with '.md' files --> https://github.com/getpelican/pelican/issues/2107#issuecomment-363388649
- but, it doesn't work with '.rst' files.
- that's because metadata being merged with a default 'title' which is empty if you don't give one in the document!
- so, if 'title' is empty, then do not add the default. that is meaningless.
- look into : patch/pelican_readers.patch