lost-train/README.md
2020-04-26 02:50:38 +09:00

811 B

Example [Pelican] website using GitLab server, 'nosignal.hopto.org/gitlab'

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