~fabrixxm/sito

ref: 3bddb7c341b758f680d2e2f609fd73c1f80fe482 sito/publishconf.py -rw-r--r-- 1.2 KiB
3bddb7c3 — fabrixxm Fix feed urls in publishconf 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/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://www.gl-como.it/v2015'
RELATIVE_URLS = False

FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
FEED_MAX_ITEMS = 10
DELETE_OUTPUT_DIRECTORY = True


# Social widget
# Repeat to fix links with SITEURL
SOCIAL = (
    ('Seguici su Friendica', 'http://social.gl-como.it/~gl-como'),
    # ('Segui @glcomo su identi.ca', 'http://identi.ca/glcomo'),
    ('Feed Atom', SITEURL+'/feeds/all.atom.xml'),
    ('OpenCast Live su PeerTube', 'https://peertube.uno/video-channels/opencastlive/videos'),
    ('Opencast Video Feed', SITEURL+'/feeds/opencast.mp4.atom.xml'),
    ('Opencast Ogg/Vorbis Feed', SITEURL+'/feeds/opencast.ogg.atom.xml'),
    ('Opencast Mp3 Feed', SITEURL+'/feeds/opencast.mp3.atom.xml'),
    # ('I repository del GL-Como', 'http://gl-como.it/gitweb/gitweb.cgi'),
)


# Following items are often useful when publishing

#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""