My personnal blog repo - https://xieme-art.org
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.

72 lines
1.8KB

  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = 'ephase'
  5. SITENAME = 'Xieme-Art'
  6. SITEURL = 'https://xieme-art.org'
  7. DEFAULT_PAGINATION = 10
  8. TYPOGRIFY = True
  9. PAGINATION_PATTERNS = (
  10. (1, '{base_name}/', '{base_name}/index.html'),
  11. (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
  12. )
  13. MENUITEMS = (
  14. ('Tags', 'tags.html'),
  15. ('Catégories', 'categories.html'),
  16. )
  17. LINKS = (
  18. ('Giroll', 'https://giroll.org'),
  19. ('Aquilenet', "https://aquilenet.fr"),
  20. )
  21. # Social widget
  22. SOCIAL = (
  23. ('mastodon', 'https://toot.aquilenet.fr/@ephase'),
  24. )
  25. PATH = 'content'
  26. ARTICLE_PATHS = ['articles']
  27. ARTICLE_URL = 'post/{slug}/'
  28. ARTICLE_SAVE_AS = 'post/{slug}/index.html'
  29. CATEGORY_URL = 'category/{slug}/'
  30. CATEGORY_SAVE_AS = 'category/{slug}/index.html'
  31. TAG_URL = 'tag/{slug}/'
  32. TAG_SAVE_AS = 'tag/{slug}/index.html'
  33. AUTHOR_SAVE_AS = 'author/{slug}/index.html'
  34. AUTHOR_URL = 'author/{slug}/'
  35. STATIC_PATHS = ['assets']
  36. TIMEZONE = 'Europe/Paris'
  37. DEFAULT_LANG = 'fr'
  38. # Feed generation is usually not desired when developing
  39. FEED_ALL_ATOM = "feeds/all.atom.xml"
  40. TAG_FEED_ATOM = "feeds/tag_{slug}.xml"
  41. CATEGORY_FEED_ATOM = None
  42. TRANSLATION_FEED_ATOM = None
  43. AUTHOR_FEED_ATOM = None
  44. AUTHOR_FEED_RSS = None
  45. THEME = 'theme/'
  46. PLUGIN_PATHS = ['plugins']
  47. PLUGINS = ['neighbors']
  48. # Attila theme
  49. HEADER_COVER = 'assets/backgrounds/sigean.jpg'
  50. COLOR_SCHEME_CSS = 'monokai.css'
  51. AUTHORS_BIO = {
  52. "ephase": {
  53. "name": "ephase",
  54. "image": "assets/souris.svg",
  55. "bio": "Geek Libriste et gameur depuis 1979, co-fondateur du collectif Giroll et administrateur système en devenir. Je ne joue que sur des machines Linux / BSD",
  56. }
  57. }
  58. # Uncomment following line if you want document-relative URLs when developing
  59. # RELATIVE_URLS = True