publishconf.py

Thu, 10 Nov 2022 16:46:54 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 10 Nov 2022 16:46:54 +0100
changeset 142
6faac5ee8017
parent 0
e7f601f9db69
child 144
202ad178f68f
permissions
-rw-r--r--

Disable deprecated feed_summary plugin and update SOCIAL var

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.

import os
import sys
sys.path.append(os.curdir)
from pelicanconf import *

SITEURL = 'https://whatever.sdfa3.org'
RELATIVE_URLS = False

FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'

DELETE_OUTPUT_DIRECTORY = True

# Following items are often useful when publishing

#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""

mercurial