devidw / pelican-theme-darksome

Darksome theme for Pelican Static Site Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Darksome theme for Pelican Static Site Generator

License:MIT License


Languages

Language:HTML 45.0%Language:Sass 44.8%Language:JavaScript 10.2%