Le site internet de CLI
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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 = ""