diff --git a/Makefile b/Makefile index 7d0ecdc..a625e83 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,8 @@ build: install npm run build-scss @echo ">> Building pelican..." $(PELICAN) -o $(OUTPUTDIR) -v + cp -R $(OUTPUTDIR)/assets/* $(OUTPUTDIR)/static + rm -rf $(OUTPUTDIR)/assets clean: rm -rf $(OUTPUTDIR)/* diff --git a/content/assets/img/logo-transparent.png b/content/assets/img/logo-transparent.png new file mode 100644 index 0000000..602aded Binary files /dev/null and b/content/assets/img/logo-transparent.png differ diff --git a/pelicanconf.py b/pelicanconf.py index 5565b03..d47fe65 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -15,11 +15,9 @@ DEFAULT_LANG = 'en' PAGE_PATHS = ["pages"] THEME = "theme" THEME_STATIC_DIR = "static" -THEME_STATIC_PATHS = ['static/build'] -STATIC_PATHS = ["assets", "assets/favicon.ico"] -EXTRA_PATH_METADATA = { - "assets/favicon.ico": {"path": "favicon.ico"} -} +THEME_STATIC_PATHS = ["static/build"] +STATIC_PATHS = ["assets"] + USE_FOLDER_AS_CATEGORY = True DEFAULT_PAGINATION = False SLUGIFY_SOURCE = 'basename' diff --git a/theme/templates/base.html b/theme/templates/base.html index ae0eb6f..0f666f2 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -6,6 +6,7 @@ + {% block htmltitle %}Page{% endblock%} - {{ SITENAME }}