[Markdown (mostly)] This is the repo of my blog https://libskia.so/b/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

74 lines
2.0KB

  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = u'Skia'
  5. SITENAME = u'libskia->display(blog);'
  6. SITEURL = 'https://libskia.so/b'
  7. TIMEZONE = 'Europe/Paris'
  8. DATE_FORMATS = {
  9. 'en': ('en_US.utf-8', '%a, %d %b %Y'),
  10. 'fr': ('fr_FR.utf-8', '%a %d %b %Y')
  11. }
  12. DEFAULT_LANG = u'en'
  13. DEFAULT_METADATA = {
  14. 'status': 'draft',
  15. }
  16. MARKDOWN = {
  17. 'extension_configs': {
  18. 'markdown.extensions.codehilite': {'css_class': 'highlight'},
  19. 'markdown.extensions.extra': {},
  20. 'markdown.extensions.meta': {},
  21. },
  22. 'output_format': 'html5',
  23. }
  24. THEME = 'dev-hyask'
  25. CATEGORIES_SAVE_AS = False
  26. DISPLAY_CATEGORIES_ON_MENU = False
  27. AUTHOR_SAVE_AS = False
  28. DIRECT_TEMPLATES = ('index', 'archives', 'tags')
  29. # Feed generation
  30. FEED_DOMAIN = SITEURL
  31. FEED_ATOM = 'feed.atom'
  32. FEED_RSS = 'feed.rss'
  33. # Blogroll
  34. LINKS = (
  35. ('Dustri', 'https://dustri.org/'),
  36. ('Fr33tux', 'https://fr33tux.org/'),
  37. ('Piké', 'https://smagnin.org/'),
  38. ('MlleCarnot', 'http://mllecarnot.org/'),
  39. ('Vross', 'https://vross.me/'),
  40. ('Magne', 'https://ssl.getonmyhor.se/'),
  41. ('Nam Nam', 'http://nam.pike.tf/'),
  42. ('Krophil', 'http://krophil.fr/'),
  43. ('Sli', 'https://klmp200.net/'),
  44. #('Maat', 'http://maatunix.eu/'),
  45. )
  46. # Social widget
  47. #SOCIAL = (('You can add links in your config file', '#'),
  48. #('Another social link', '#'),)
  49. # Pygment options
  50. PYGMENTS_RST_OPTIONS = {'classprefix': 'pgcss', 'linenos': 'table', "style":
  51. "bg:#000000"}
  52. FOOTER_TEXT = '''<a href="http://libskia.so/b/feed.rss">RSS</a> | <a href="http://libskia.so/b/feed.atom">ATOM</a><br/>
  53. Powered by <a href="http://pelican.readthedocs.org">Pelican</a><br />
  54. Theme inspired by <a href="https://github.com/getpelican/pelican-themes/tree/master/dev-random2" >dev-random2</a>'''
  55. DEFAULT_PAGINATION = False
  56. # Uncomment following line if you want document-relative URLs when developing
  57. RELATIVE_URLS = True