diff --git a/content/extra/favicon.svg b/content/extra/favicon.svg new file mode 100644 index 0000000..3778d94 --- /dev/null +++ b/content/extra/favicon.svg @@ -0,0 +1 @@ +🏴‍☠️ diff --git a/pelicanconf.py b/pelicanconf.py index ab8c8c6..9e88305 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -34,6 +34,12 @@ MARKDOWN = { 'output_format': 'html5', } +STATIC_PATHS = ['images', 'extra'] + +EXTRA_PATH_METADATA = { + 'extra/favicon.svg': {'path': 'favicon.svg'}, +} + # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True diff --git a/publishconf.py b/publishconf.py index 8c33376..1899c1b 100644 --- a/publishconf.py +++ b/publishconf.py @@ -34,6 +34,12 @@ MARKDOWN = { 'output_format': 'html5', } +STATIC_PATHS = ['images', 'extra'] + +EXTRA_PATH_METADATA = { + 'extra/favicon.svg': {'path': 'favicon.svg'}, +} + # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True diff --git a/themes/theme/templates/base.html b/themes/theme/templates/base.html index aeeb818..a119a88 100644 --- a/themes/theme/templates/base.html +++ b/themes/theme/templates/base.html @@ -28,6 +28,8 @@ + +