Compare commits

...

10 commits

Author SHA1 Message Date
3305789295 - ‘.#README.md’
/ ‘README.md’
2020-04-21 21:01:32 +09:00
b38eac7272 + ‘.#README.md’ 2020-04-21 21:01:29 +09:00
d0f8137cca - ‘.#README.md’
/ ‘README.md’
2020-04-21 21:00:33 +09:00
c89d7295fa + ‘.#README.md’ 2020-04-21 20:55:29 +09:00
f5a05a8d5c - ‘.#pelicanconf.py’ 2020-04-21 20:54:49 +09:00
8993404a5d + ‘.#pelicanconf.py’ 2020-04-21 20:54:38 +09:00
1f515f6f93 / ‘.gitlab-ci.yml’ 2020-04-21 20:48:06 +09:00
1b98a577e5 / ‘.gitlab-ci.yml’ 2020-04-21 20:41:05 +09:00
717cd1a09f / ‘.gitlab-ci.yml’ 2020-04-21 20:40:06 +09:00
6b6ddd1ce5 / ‘.gitlab-ci.yml’ 2020-04-21 20:38:12 +09:00
2 changed files with 10 additions and 1 deletions

View file

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

View file

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