Personal profile, blog & website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
940 B

#!/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
import pelican_planet
sys.path.append(os.curdir)
from pelicanconf import *
from pelican_ashwinvis import SITEURL
RELATIVE_URLS = False
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
FEED_MAX_ITEMS = 5
DELETE_OUTPUT_DIRECTORY = False
try:
idx_css = M_CSS_FILES.index(f"/static/m-{AV_THEME}.css")
path_css = M_CSS_FILES.pop(idx_css)
M_CSS_FILES.insert(idx_css, path_css[:-3] + "compiled.css")
except (ValueError, NameError):
pass
PLUGINS += [pelican_planet]
PLANET_FEEDS = read_opml("planet.opml", ("Blogroll", "Planets"))
PLANET_RESOLVE_REDIRECTS = True
# Following items are often useful when publishing
# DISQUS_SITENAME = ""
# GOOGLE_ANALYTICS = ""
# m.css specific