Le site internet de CLI
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

publishconf.py 589B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. # This file is only used if you use `make publish` or
  5. # explicitly specify it as your config file.
  6. import os
  7. import sys
  8. sys.path.append(os.curdir)
  9. from pelicanconf import *
  10. # If your site is available via HTTPS, make sure SITEURL begins with https://
  11. SITEURL = ''
  12. RELATIVE_URLS = False
  13. FEED_ALL_ATOM = 'feeds/all.atom.xml'
  14. CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
  15. DELETE_OUTPUT_DIRECTORY = True
  16. # Following items are often useful when publishing
  17. #DISQUS_SITENAME = ""
  18. #GOOGLE_ANALYTICS = ""