bugfix SITELOGO

This commit is contained in:
lubuwest 2023-03-23 20:33:46 +01:00
parent 0422e51ecc
commit 10d885b2cf
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ Configuration in pelicanconf.py:
SITEDESCRIPTION = 'Lorem ipsum dolor sit ..' # Additional text shown on the start page 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 DISPLAY_PAGES_ON_MENU = True # Markdown files in the 'pages' directory are shown as links in the header

View file

@ -8,7 +8,7 @@
<meta property=og:type content=article /> <meta property=og:type content=article />
<meta property=og:url content="{{ SITEURL }}" /> <meta property=og:url content="{{ SITEURL }}" />
{% if SITELOGO %} {% if SITELOGO %}
<meta property=og:image content="{{ SITEURL }}/{{ SITELOGO }}"> <meta property=og:image content="{{ SITEURL }}/{{ SITELOGO }}" />
{% else %} {% else %}
<meta property=og:image content="{{ SITEURL }}/theme/images/pelican.png" /> <meta property=og:image content="{{ SITEURL }}/theme/images/pelican.png" />
{% endif %} {% endif %}
@ -47,7 +47,7 @@
{{ FEED_ATOM }} {{ FEED_ATOM }}
<div class="container"><header role="banner"> <div class="container"><header role="banner">
{% if SITELOGO %} {% 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 %} {% endif %}
<div class="feeds"> <div class="feeds">
{% if FEED_ALL_ATOM %} {% if FEED_ALL_ATOM %}