1
Fork 0

add favicon

This commit is contained in:
Jake Howard 2016-06-11 12:53:23 +01:00
parent fc7f3bcf60
commit 42559f20cc
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 6 additions and 5 deletions

View file

@ -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)/*

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

View file

@ -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'

View file

@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="" />
<meta name="author" content="" />
<link rel="shortcut icon" href="/static/img/logo-transparent.png">
<title>{% block htmltitle %}Page{% endblock%} - {{ SITENAME }}</title>