view publishconf.py @ 107:712e2e9cf8b1

new blog post
author Dirk Olmes <dirk.olmes@codedo.de>
date Wed, 16 Jun 2021 16:40:17 +0200
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