bugfix SITELOGO
This commit is contained in:
parent
0422e51ecc
commit
10d885b2cf
|
@ -18,7 +18,7 @@ Configuration in pelicanconf.py:
|
|||
|
||||
SITEDESCRIPTION = 'Lorem ipsum dolor sit ..' # Additional text shown on the start page
|
||||
|
||||
SITELOGO = 'images/logo.png' # Logo for the site, height is 50px, directory below PATH
|
||||
SITELOGO = 'images/logo.png' # Logo for the site, height is 50px, subdirectory in PATH
|
||||
|
||||
DISPLAY_PAGES_ON_MENU = True # Markdown files in the 'pages' directory are shown as links in the header
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<meta property=og:type content=article />
|
||||
<meta property=og:url content="{{ SITEURL }}" />
|
||||
{% if SITELOGO %}
|
||||
<meta property=og:image content="{{ SITEURL }}/{{ SITELOGO }}">
|
||||
<meta property=og:image content="{{ SITEURL }}/{{ SITELOGO }}" />
|
||||
{% else %}
|
||||
<meta property=og:image content="{{ SITEURL }}/theme/images/pelican.png" />
|
||||
{% endif %}
|
||||
|
@ -47,7 +47,7 @@
|
|||
{{ FEED_ATOM }}
|
||||
<div class="container"><header role="banner">
|
||||
{% if SITELOGO %}
|
||||
<img style="height: 4px; vertical-align: -10px; padding-right: 10px" src="{{ SITEURL }}/{{ SITELOGO }}">
|
||||
<img style="height: 40px; vertical-align: -10px; padding-right: 10px" src="{{ SITEURL }}/{{ SITELOGO }}" alt="logo" >
|
||||
{% endif %}
|
||||
<div class="feeds">
|
||||
{% if FEED_ALL_ATOM %}
|
||||
|
|
Loading…
Reference in a new issue