add favicon
This commit is contained in:
parent
fc7f3bcf60
commit
42559f20cc
4 changed files with 6 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -16,6 +16,8 @@ build: install
|
||||||
npm run build-scss
|
npm run build-scss
|
||||||
@echo ">> Building pelican..."
|
@echo ">> Building pelican..."
|
||||||
$(PELICAN) -o $(OUTPUTDIR) -v
|
$(PELICAN) -o $(OUTPUTDIR) -v
|
||||||
|
cp -R $(OUTPUTDIR)/assets/* $(OUTPUTDIR)/static
|
||||||
|
rm -rf $(OUTPUTDIR)/assets
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(OUTPUTDIR)/*
|
rm -rf $(OUTPUTDIR)/*
|
||||||
|
|
BIN
content/assets/img/logo-transparent.png
Normal file
BIN
content/assets/img/logo-transparent.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 237 KiB |
|
@ -15,11 +15,9 @@ DEFAULT_LANG = 'en'
|
||||||
PAGE_PATHS = ["pages"]
|
PAGE_PATHS = ["pages"]
|
||||||
THEME = "theme"
|
THEME = "theme"
|
||||||
THEME_STATIC_DIR = "static"
|
THEME_STATIC_DIR = "static"
|
||||||
THEME_STATIC_PATHS = ['static/build']
|
THEME_STATIC_PATHS = ["static/build"]
|
||||||
STATIC_PATHS = ["assets", "assets/favicon.ico"]
|
STATIC_PATHS = ["assets"]
|
||||||
EXTRA_PATH_METADATA = {
|
|
||||||
"assets/favicon.ico": {"path": "favicon.ico"}
|
|
||||||
}
|
|
||||||
USE_FOLDER_AS_CATEGORY = True
|
USE_FOLDER_AS_CATEGORY = True
|
||||||
DEFAULT_PAGINATION = False
|
DEFAULT_PAGINATION = False
|
||||||
SLUGIFY_SOURCE = 'basename'
|
SLUGIFY_SOURCE = 'basename'
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<meta name="author" content="" />
|
<meta name="author" content="" />
|
||||||
|
<link rel="shortcut icon" href="/static/img/logo-transparent.png">
|
||||||
|
|
||||||
<title>{% block htmltitle %}Page{% endblock%} - {{ SITENAME }}</title>
|
<title>{% block htmltitle %}Page{% endblock%} - {{ SITENAME }}</title>
|
||||||
|
|
||||||
|
|
Reference in a new issue