An open API service indexing awesome lists of open source software.

https://github.com/devidw/pelican-theme-darksome

Darksome theme for Pelican Static Site Generator
https://github.com/devidw/pelican-theme-darksome

dark dark-mode dark-theme darkmode pelican pelican-4 pelican-blog pelican-site pelican-static-site-generator pelican-theme static-site-generator theme theme-development theme-ui web web-development website website-development

Last synced: 3 months ago
JSON representation

Darksome theme for Pelican Static Site Generator

Awesome Lists containing this project

README

        

= Pelican Theme Darksome
//:toc:
//:toc-placement!:

//See a https://david🐺.to[live example] of the theme in action.

image::screenshot.png[screenshot]

//toc::[]

== Settings
Available settings for `pelicanconf.py`:

[source, python]
----
"""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:

[source, asciidoc]
----
//
// article previews on list pages
:description: description

//
:noindex: true

// seo JSON-LD
:jsonld:
----

// == Donate
// The Darksome theme is completely open source and 100% free. If you like it, a small donation is very welcome. 🤗

// image:https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-1.svg[Buy me a coffee, link="https://buymeacoffee.com/dwolf"]