view publishconf.py @ 101:0e63edd28f55

add a pip requirements file to easily setup the blog venv
author Dirk Olmes <dirk.olmes@codedo.de>
date Sat, 28 Mar 2020 02:43:10 +0100
parents e99db3bc53c1
children
line wrap: on
line source

#!/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 *

RELATIVE_URLS = False

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