diff --git a/README.md b/README.md index 7e0aa36..794507d 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,12 @@ Configuration in pelicanconf.py: ``` EMAIL='x@y.com' + SITEDESCRIPTION = 'Lorem ipsum dolor sit ..' # Additional text shown on the start page + + SITELOGO = 'images/logo.png' # Logo for the site, height is 50px + + DISPLAY_PAGES_ON_MENU = True # Markdown files in the 'pages' directory are shown as links in the header + SOCIAL = (('Diaspora', 'https://diasp.eu/...'), ('Friendica', 'https://friendica.eu/profile/...'), ('Forgejo', 'https://codeberg.org...'), @@ -71,9 +77,6 @@ DEFAULT_DATE = 'fs' # to retrieve the date from file savedate of file, if there STATIC_PATHS = ['Screenshots'] # place of image files should be set -SITEDESCRIPTION = 'Lorem ipsum dolor sit ..' # Additional text shown on the start page - -DISPLAY_PAGES_ON_MENU = True # Markdown files in the 'pages' directory are shown as links in the header ``` ## Credits @@ -82,4 +85,4 @@ DISPLAY_PAGES_ON_MENU = True # Markdown files in the 'pages' directory are shown ## License -In line with Federation Widget (https://git.friendi.ca/lubuwest/Federation-widget) this template is under the [WTF Public License](http://sam.zoy.org/wtfpl/COPYING). \ No newline at end of file +In line with Federation Widget (https://git.friendi.ca/lubuwest/Federation-widget) this template is under the [WTF Public License](http://sam.zoy.org/wtfpl/COPYING). diff --git a/templates/base.html b/templates/base.html index 8d46bec..685ae19 100644 --- a/templates/base.html +++ b/templates/base.html @@ -7,7 +7,12 @@ +{% if SITELOGO %} + +{% else %} +{% endif %} + {% block extra_meta %} {% endblock %} @@ -41,6 +46,9 @@ {{ FEED_ATOM }}
+ {% if SITELOGO %} + + {% endif %}
{% if FEED_ALL_ATOM %} atom feed