Compare commits
10 commits
333f68585a
...
3305789295
| Author | SHA1 | Date | |
|---|---|---|---|
| 3305789295 | |||
| b38eac7272 | |||
| d0f8137cca | |||
| c89d7295fa | |||
| f5a05a8d5c | |||
| 8993404a5d | |||
| 1f515f6f93 | |||
| 1b98a577e5 | |||
| 717cd1a09f | |||
| 6b6ddd1ce5 |
2 changed files with 10 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ build:
|
|||
- virtualenv venv
|
||||
- source venv/bin/activate
|
||||
- pip install -r requirements.txt
|
||||
- patch venv/lib/python3.7/site-packages/pelican/readers.py -i patch/pelican_readers.patch
|
||||
- patch venv/lib/python3.5/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
|
||||
|
|
|
|||
|
|
@ -4,3 +4,12 @@
|
|||
- 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue