Skip to content

Darksome theme for Pelican Static Site Generator

License

Notifications You must be signed in to change notification settings

devidw/pelican-theme-darksome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pelican Theme Darksome

screenshot

Settings

Available settings for pelicanconf.py:

"""theme specific settings below 👇"""

from datetime import date

CANONICALURLS = (
    'https://www.davidwolf.dev',
    'https://www.david🐺.to',
)

"""not used on index"""
TITLE_SEPARATOR = '—' # Title {{ TITLE_SEPARATOR }} Site Name

"""
decide which cards should be displayed on listing pages
available: 'categories', 'tags', 'authors'
"""
# SIDEBAR_CARDS = ('categories', 'tags', 'authors')
SIDEBAR_CARDS = ('tags')

FOOTERTEXT = 'Copyright © 12019 - {0}'.format(date.today().year + 10000) # human era

"""links displayed in page footer"""
FOOTERITEMS = (
    ('legal', 'legal/'), # title, link (SITEURL will be added automatically)
    ('privacy', 'privacy/'),
)

MEDIA = {
    'logo': 'media/images/logo.svg',
    'favicon': 'media/images/favicon.svg',
    'background': 'media/images/background.webp', # on home
}

"""used wherever articles are listed"""
TRANSLATIONS = {
    'en': {
        'flag': '🇬🇧'
    },
    'de': {
        'flag': '🇩🇪'
    },
}

Frontmatter

Available frontmatter options in content files:

// <meta name="description" content="…">
// article previews on list pages
:description: description

// <meta name="robots" content="noindex">
:noindex: true

// seo JSON-LD
:jsonld: