<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Lepagito</title><link href="http://lepagito.artliba.org/" rel="alternate"></link><link href="http://lepagito.artliba.org/feeds/all.atom.xml" rel="self"></link><id>http://lepagito.artliba.org/</id><updated>2023-02-14T00:00:00+01:00</updated><subtitle>A lovely pelican theme</subtitle><entry><title>Getting started</title><link href="http://lepagito.artliba.org/1a-getting-started.html" rel="alternate"></link><published>2023-02-14T00:00:00+01:00</published><updated>2023-02-14T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2023-02-14:/1a-getting-started.html</id><summary type="html">&lt;p&gt;&lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; is a lovely pelican theme.&lt;/p&gt;
&lt;p&gt;Observe it first in action on the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;lepagito&lt;/a&gt; web site.
Also, it is used by both the &lt;a class="reference external" href="http://pirogh.artliba.org"&gt;Pirogh&lt;/a&gt;  author's blog,
the &lt;a class="reference external" href="http://greuzecottave.artliba.org"&gt;Greuze-Cottave&lt;/a&gt; blog for painters and designers
and the &lt;a class="reference external" href="http://galleria.artliba.org"&gt;galleria&lt;/a&gt; pelican plugin documentation.&lt;/p&gt;
&lt;p&gt;You're interested? Fascinated? Let's start!
First, download and install the theme:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/internet/lepagito
&lt;/pre&gt;
&lt;p&gt;For navigation and searches, this theme includes the optional
&lt;a class="reference external" href="https://github.com/pelican-plugins/neighbors"&gt;neighbors&lt;/a&gt;, &lt;a class="reference external" href="https://github.com/pelican-plugins/search"&gt;search&lt;/a&gt;  and &lt;a class="reference external" href="https://github.com/pelican-plugins/sitemap"&gt;sitemap&lt;/a&gt; pelican plugins:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
sudo apt install pelican python3-pip python3.11-venv python3-full python-is-python3
python -m venv ~/mypy
source ~/mypy/bin/activate
pip install pelican-neighbors
pip install pelican-search
pip install pelican-sitemap
pip …&lt;/pre&gt;</summary><content type="html">&lt;p&gt;&lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; is a lovely pelican theme.&lt;/p&gt;
&lt;p&gt;Observe it first in action on the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;lepagito&lt;/a&gt; web site.
Also, it is used by both the &lt;a class="reference external" href="http://pirogh.artliba.org"&gt;Pirogh&lt;/a&gt;  author's blog,
the &lt;a class="reference external" href="http://greuzecottave.artliba.org"&gt;Greuze-Cottave&lt;/a&gt; blog for painters and designers
and the &lt;a class="reference external" href="http://galleria.artliba.org"&gt;galleria&lt;/a&gt; pelican plugin documentation.&lt;/p&gt;
&lt;p&gt;You're interested? Fascinated? Let's start!
First, download and install the theme:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/internet/lepagito
&lt;/pre&gt;
&lt;p&gt;For navigation and searches, this theme includes the optional
&lt;a class="reference external" href="https://github.com/pelican-plugins/neighbors"&gt;neighbors&lt;/a&gt;, &lt;a class="reference external" href="https://github.com/pelican-plugins/search"&gt;search&lt;/a&gt;  and &lt;a class="reference external" href="https://github.com/pelican-plugins/sitemap"&gt;sitemap&lt;/a&gt; pelican plugins:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
sudo apt install pelican python3-pip python3.11-venv python3-full python-is-python3
python -m venv ~/mypy
source ~/mypy/bin/activate
pip install pelican-neighbors
pip install pelican-search
pip install pelican-sitemap
pip install pelican-theme-config
&lt;/pre&gt;
&lt;p&gt;The first &lt;tt class="docutils literal"&gt;apt&lt;/tt&gt; command is specific to &lt;a class="reference external" href="https://www.debian.org"&gt;GNU/Linux Debian&lt;/a&gt; systems
and should be adapted to your environment.
The &lt;a class="reference external" href="https://github.com/pelican-plugins/neighbors"&gt;neighbors&lt;/a&gt; optional plugin allows a convenient navigation between articles.
The &lt;a class="reference external" href="https://github.com/pelican-plugins/search"&gt;search&lt;/a&gt; plugin provides a self-hosted search capability to your site.
Optionally, if you wish to customize the theme colors:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
pip install colorspacious Pillow colormath
&lt;/pre&gt;
&lt;p&gt;Also, the optional &lt;a class="reference external" href="http://galleria.artliba.org"&gt;galleria&lt;/a&gt; plugin, for photo galleries:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/internet/galleria
&lt;/pre&gt;
&lt;p&gt;The &lt;a class="reference external" href="https://github.com/pelican-plugins/search"&gt;search&lt;/a&gt;  pelican plugin depends itself upon &lt;a class="reference external" href="https://github.com/jameslittle230/stork"&gt;stork&lt;/a&gt;,
that should also be installed.
For instance, for &lt;a class="reference external" href="https://www.debian.org"&gt;GNU/Linux Debian&lt;/a&gt; systems, just enter:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
wget https://files.stork-search.net/releases/v1.6.0/stork-ubuntu-22-04
chmod a+x stork-ubuntu-22-04
sudo mv -i stork-ubuntu-22-04 /usr/local/bin/stork
&lt;/pre&gt;
&lt;p&gt;If you are in trouble when installing &lt;a class="reference external" href="https://github.com/jameslittle230/stork"&gt;stork&lt;/a&gt; on your computer,
don't worry: you could just edit the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file
and remove both this optional plugin
together with the &lt;tt class="docutils literal"&gt;SEARCH_MODE&lt;/tt&gt; variable:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
PLUGINS = ['neighbors', 'sitemap', 'galleria']
#SEARCH_MODE = 'output'
&lt;/pre&gt;
&lt;p&gt;The &lt;a class="reference external" href="https://github.com/pelican-plugins/sitemap"&gt;sitemap&lt;/a&gt; optional plugin generates a &lt;tt class="docutils literal"&gt;sitemap.xml&lt;/tt&gt; file
to facilitate the indexing of your site by search engines.
Finally, the &lt;a class="reference external" href="http://galleria.artliba.org"&gt;galleria&lt;/a&gt; optional plugin facilitates the
management of image galleries.&lt;/p&gt;
&lt;p&gt;The documentation of this theme is itself a pelican blog using the present theme,
so the source files of the documentation present
a practical example on how to use
pelican together with this theme.
You could now check your computer environment:
produce and read the documentation:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
cd doc
pelican content
firefox output/index.html &amp;amp;
&lt;/pre&gt;
&lt;p&gt;Next, if you already have a pelican blog,
you just have to edit your &lt;em&gt;pelicanconf.py&lt;/em&gt; file an change your theme as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
THEME = '/my-full-path-to/lepagito'
&lt;/pre&gt;
&lt;p&gt;Finally, just enter as usual:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
pelican content
firefox output/index.html &amp;amp;
&lt;/pre&gt;
</content><category term="Quickstart"></category><category term="pelicanconf.py"></category><category term="install"></category><category term="navigation"></category></entry><entry><title>The logo</title><link href="http://lepagito.artliba.org/1b-logo.html" rel="alternate"></link><published>2023-02-13T00:00:00+01:00</published><updated>2023-02-13T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2023-02-13:/1b-logo.html</id><summary type="html">&lt;p&gt;The logo at the top of each page is sill the heat,
which is specific to the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; theme.
Your blog should have its own logo, since
the  &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; logo is copyrighted (see &lt;a class="reference external" href="license.html"&gt;License&lt;/a&gt;).
To do that, copy first logos from
&lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; to your environment, exactly as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
mkdir content/theme
cp -a ~/pelican-themes/lepagito/static/img theme
&lt;/pre&gt;
&lt;p&gt;In the &lt;em&gt;content/theme/img&lt;/em&gt; directory, the files are:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
logo.png
favicon-16x16.png
favicon-32x32.png
favicon.ico
apple-touch-icon.png
mstile-150x150.png
site.webmanifest

entry_foooter.png
browserconfig.xml
&lt;/pre&gt;
&lt;p&gt;The first six files are different implementations of the same
logo and should be modified.
The …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The logo at the top of each page is sill the heat,
which is specific to the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; theme.
Your blog should have its own logo, since
the  &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; logo is copyrighted (see &lt;a class="reference external" href="license.html"&gt;License&lt;/a&gt;).
To do that, copy first logos from
&lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; to your environment, exactly as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
mkdir content/theme
cp -a ~/pelican-themes/lepagito/static/img theme
&lt;/pre&gt;
&lt;p&gt;In the &lt;em&gt;content/theme/img&lt;/em&gt; directory, the files are:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
logo.png
favicon-16x16.png
favicon-32x32.png
favicon.ico
apple-touch-icon.png
mstile-150x150.png
site.webmanifest

entry_foooter.png
browserconfig.xml
&lt;/pre&gt;
&lt;p&gt;The first six files are different implementations of the same
logo and should be modified.
The seventh file should also be modified.
The eigth file is the blue pencil article footer:
it could be changed or left as is, as you prefer.
The last file could be left as is.&lt;/p&gt;
&lt;p&gt;Finally, edit again your &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
STATIC_PATHS = ['images', 'theme']
&lt;/pre&gt;
&lt;p&gt;and run again pelican: your logo has been changed.&lt;/p&gt;
</content><category term="Quickstart"></category><category term="pelicanconf.py"></category><category term="logo"></category></entry><entry><title>The file pelicanconf.py</title><link href="http://lepagito.artliba.org/1c-pelicanconf.html" rel="alternate"></link><published>2023-01-14T00:00:00+01:00</published><updated>2023-01-14T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2023-01-14:/1c-pelicanconf.html</id><summary type="html">&lt;p&gt;Here is a complete example of the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file,
as used for the present documentation of the theme.
It starts by setting some standard &lt;a class="reference external" href="https://getpelican.com"&gt;pelican&lt;/a&gt; variables, as usual.
Then, come the theme's and the optional plugins.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# =============================
# 1. standard pelican variables
# =============================
SITEURL      = 'http://lepagito.artliba.org'
SITENAME     = 'Lepagito'
AUTHOR       = 'I. Lepage and P. Hesse'
SITESUBTITLE = 'A lovely pelican theme'
TIMEZONE     = 'Europe/Paris'
DEFAULT_LANG = 'en'
LOCALE       = 'C'

PATH         = 'content'
STATIC_PATHS = []

OUTPUT_PATH  = 'output'
#DELETE_OUTPUT_DIRECTORY = True # before site generation

DISPLAY_CATEGORIES_ON_MENU = False # choose a custom top menu here
MENUITEMS = (
  ('All',        'index.html'),
  ('Quickstart', 'quickstart.html'),
  ('Goodies',    'goodies.html'),
  ('Options',    'options.html'),
  ('#Tags',      'tags.html' …&lt;/pre&gt;</summary><content type="html">&lt;p&gt;Here is a complete example of the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file,
as used for the present documentation of the theme.
It starts by setting some standard &lt;a class="reference external" href="https://getpelican.com"&gt;pelican&lt;/a&gt; variables, as usual.
Then, come the theme's and the optional plugins.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
# =============================
# 1. standard pelican variables
# =============================
SITEURL      = 'http://lepagito.artliba.org'
SITENAME     = 'Lepagito'
AUTHOR       = 'I. Lepage and P. Hesse'
SITESUBTITLE = 'A lovely pelican theme'
TIMEZONE     = 'Europe/Paris'
DEFAULT_LANG = 'en'
LOCALE       = 'C'

PATH         = 'content'
STATIC_PATHS = []

OUTPUT_PATH  = 'output'
#DELETE_OUTPUT_DIRECTORY = True # before site generation

DISPLAY_CATEGORIES_ON_MENU = False # choose a custom top menu here
MENUITEMS = (
  ('All',        'index.html'),
  ('Quickstart', 'quickstart.html'),
  ('Goodies',    'goodies.html'),
  ('Options',    'options.html'),
  ('#Tags',      'tags.html'),
)
DEFAULT_PAGINATION =   6; # article summaries per page
SUMMARY_MAX_LENGTH = 100; # counted in words

RELATIVE_URLS                    = True
SLUGIFY_SOURCE                   = 'basename' 
ARTICLE_URL   = ARTICLE_SAVE_AS  = '{slug}.html'
CATEGORY_URL  = CATEGORY_SAVE_AS = '{slug}.html'
TAG_URL       = TAG_SAVE_AS      = '{slug}.html'
AUTHOR_URL    = AUTHOR_SAVE_AS   = '{slug}.html'
ARCHIVES_SAVE_AS                 = 'archives.html'
YEAR_ARCHIVE_SAVE_AS             = 'archive_{date:%Y}.html'
MONTH_ARCHIVE_SAVE_AS            = 'archive_{date:%Y}_{date:%m}.html'
# =============================
# 2. Lepagito theme
# =============================
THEME = '/home/hesse/dvt-perso/lepagito'
FOOTERMENUITEMS = (
  ('About',    'about.html'),
  ('License',  'license.html'),
)
TAGS_BY_GROUPS = (
  ('Pelican', ('tag-group', 'navigation', 'plugin', 'pelicanconf.py')),
)
#FOOTERMENUFEED    = False; # default is True
#ARCHIVES_CALENDAR = False; # default is True
LEPAGITO_NAVIGATION_SWAP = True
LEPAGITO_COLOR = { 'cold': 0, 'file': 'color.css' } # the default value
# internationalization (i18n): here are the default values
I18N_CATEGORIES  = 'Categories'
I18N_CATEGORY    = 'Category'
I18N_TAGS        = '#Tags'
I18N_TOP         = 'Top'
I18N_PAGE        = 'Page'
I18N_READ_MORE   = 'Read more'
I18N_ARCHIVES    = 'Archives'
I18N_FEED_ALL_ATOM = 'Feed'
I18N_NEWEST      = 'Newest'
I18N_OLDEST      = 'Oldest'
I18N_FIRST       = 'First'
I18N_LAST        = 'Last'
I18N_BACK_TO     = 'Back to'
I18N_OTHERS      = 'Others'
I18N_PREV        = 'Prev'
I18N_NEXT        = 'Next'
# =============================
# 3. plugins, optionals
# =============================
PLUGIN_PATHS  = ['/home/hesse/dvt-perso/galleria/pelican/plugins', 
                 '/home/hesse/dvt-perso/theme-config/pelican/plugins',
                 '/home/hesse/pelican-plugins/search/pelican/plugins']
PLUGINS = ['search', 'sitemap', 'galleria', 'neighbors', 'theme_config']
# ------------------
# 3.1. search plugin
# ------------------
LEPAGITO_HAVE_SEARCH_MENU = ('search' in PLUGINS) # activate search menu
# -------------------
# 3.2. sitemap plugin
# -------------------
SITEMAP = {
    'format': 'xml',
    'priorities': {
        'articles': 1.0,
        'pages':    0.5,
        'indexes':  0.5
    },
    'changefreqs': {
        'articles': 'weekly',
        'pages':    'monthly',
        'indexes':  'monthly'
    }
}
# --------------------
# 3.3. galleria plugin
# --------------------
##THEME_TEMPLATES_OVERRIDES      = ['/home/hesse/dvt-perso/galleria/template']
GALLERIA_LIBRARY_PATH          = ['/home/hesse/dvt-perso/lepagito/doc/content']
LEPAGITO_GALLERY_CSS_FILE      = 'galleria.css'
# for lepagito templates:
GALLERIA_PROCESS_DIR           = 'galleria'
GALLERIA_RESIZE_JOBS           = 10
GALLERIA_VERBOSE               = True
GALLERIA_PROCESS = {
    'image-icon': {
        'type': 'image',
        'ops': ['50x50', '+profile &amp;quot;*&amp;quot;'],
    },
    'image-large': {
        'type': 'image',
        'ops': ['1200x900', '+profile &amp;quot;*&amp;quot;'],
    },
    # https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images
    'responsive-small': {
        'type': 'responsive-image',
        'sizes': (
            '(min-width: 768px) 650px, '
            '(min-width: 1200px) 800px, '
            '100vw'
        ),
        'srcset': [
            ('600w', ['600x450', '+profile &amp;quot;*&amp;quot;']),
            ('800w', ['800x600', '+profile &amp;quot;*&amp;quot;']),
        ],
        'default': '800w',
    },
    # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
   'picture-tag': {
       'type': 'picture',
       'sources': [
           {
               'name': 'default',
               'media': '(min-height: 640px)',
               'srcset': [
                   ( '640w', [ '640x480',  '+profile &amp;quot;*&amp;quot;']),
                   ('1024w', ['1024x683',  '+profile &amp;quot;*&amp;quot;']),
                   ('1600w', ['1600x1200', '+profile &amp;quot;*&amp;quot;']),
               ],
               'sizes': '100vw',
           },
           {
               'name': 'source-1',
               'srcset': [
                   ('1x', ['600x450']),
                   ('2x', ['800x600']),
               ]
           },
       ],
       'default': ('default', '640w'),
   },
}
GALLERIA_DEFAULT_CLASS         = 'responsive-small'
GALLERIA_SINGLE_CLASS          = 'image-large'
GALLERIA_ICON_CLASS            = 'image-icon'
GALLERIA_DEFAULT_MAX_HEIGHT    = '600px'

&lt;/pre&gt;
&lt;p&gt;Remark in the first
that all URLs are chosen as relative here:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
RELATIVE_URLS = True
ARTICLE_URL   = ARTICLE_SAVE_AS  = '{slug}.html'
CATEGORY_URL  = CATEGORY_SAVE_AS = '{slug}.html'
&lt;/pre&gt;
&lt;p&gt;Also, all output files (articles, categories, tags, ...)
are written in the same &amp;quot;output/&amp;quot; directory, without any hierarchy.
This setting is convenient, since it allows
to develop and fully test the blog off-line
before to upload it on its final destination:
relative URLs, such as in the &lt;tt class="docutils literal"&gt;MENUITEMS&lt;/tt&gt;,
work both in off-line and in-line modes.&lt;/p&gt;
&lt;p&gt;The second part of the configuration file
contains the specific settings of the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; theme:
these settings are be described in the sections
of the &lt;a class="reference external" href="goodies.html"&gt;Goodies&lt;/a&gt; category.
Finally, the third part
of the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file
sets the optional plugins:
see the &lt;a class="reference external" href="options.html"&gt;Options&lt;/a&gt; category.&lt;/p&gt;
</content><category term="Quickstart"></category><category term="pelicanconf.py"></category><category term="install"></category><category term="navigation"></category></entry><entry><title>Groups of tags</title><link href="http://lepagito.artliba.org/2a-tag-groups.html" rel="alternate"></link><published>2022-05-14T00:00:00+02:00</published><updated>2022-05-14T00:00:00+02:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2022-05-14:/2a-tag-groups.html</id><content type="html">&lt;p&gt;In many cases, the tag list becomes very long
and contains heterogeneous tags.
It should be better to group them: this feature is
implemented in the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; theme.
For instance, in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
TAGS_BY_GROUPS = (
  ('Color',  ('blue', 'red', 'yellow')),
  ('State',  ('solid', 'liquid', 'gas')),
  ('Firtname', ('Isabelle', 'Pierre', 'Paul', 'Jacques')),)
&lt;/pre&gt;
&lt;p&gt;If a tag appears in an article but has any defined group,
it will appear in the 'Others' group.&lt;/p&gt;
</content><category term="Goodies"></category><category term="tag-group"></category><category term="pelicanconf.py"></category></entry><entry><title>Archives and calendar</title><link href="http://lepagito.artliba.org/2b-calendar.html" rel="alternate"></link><published>2022-04-14T00:00:00+02:00</published><updated>2022-04-14T00:00:00+02:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2022-04-14:/2b-calendar.html</id><summary type="html">&lt;p&gt;The &lt;a class="reference external" href="archives.html"&gt;Archives&lt;/a&gt;, available at the footer menu,
starts with a calendar, that provides a concise view.
Years and months are both links to periodic archives.
In the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file, the two following variables
should be defined, for instance as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
YEAR_ARCHIVE_SAVE_AS  = 'archive_{date:%Y}.html'
MONTH_ARCHIVE_SAVE_AS = 'archive_{date:%Y}_{date:%m}.html'
&lt;/pre&gt;
&lt;p&gt;The calendar view do not refer to any pelican plugin:
this is an original functionality of the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; theme.
If you don't want the calendar to appear on the &lt;a class="reference external" href="archives.html"&gt;archives&lt;/a&gt; page,
you could either not define at least one of these variable,
or set:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
ARCHIVES_CALENDAR = False
&lt;/pre&gt;
&lt;p&gt;By …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The &lt;a class="reference external" href="archives.html"&gt;Archives&lt;/a&gt;, available at the footer menu,
starts with a calendar, that provides a concise view.
Years and months are both links to periodic archives.
In the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file, the two following variables
should be defined, for instance as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
YEAR_ARCHIVE_SAVE_AS  = 'archive_{date:%Y}.html'
MONTH_ARCHIVE_SAVE_AS = 'archive_{date:%Y}_{date:%m}.html'
&lt;/pre&gt;
&lt;p&gt;The calendar view do not refer to any pelican plugin:
this is an original functionality of the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;Lepagito&lt;/a&gt; theme.
If you don't want the calendar to appear on the &lt;a class="reference external" href="archives.html"&gt;archives&lt;/a&gt; page,
you could either not define at least one of these variable,
or set:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
ARCHIVES_CALENDAR = False
&lt;/pre&gt;
&lt;p&gt;By default, this variable is True.&lt;/p&gt;
</content><category term="Goodies"></category><category term="calendar"></category><category term="pelicanconf.py"></category></entry><entry><title>Footer menus</title><link href="http://lepagito.artliba.org/2c-footer-menus.html" rel="alternate"></link><published>2022-03-14T00:00:00+01:00</published><updated>2022-03-14T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2022-03-14:/2c-footer-menus.html</id><summary type="html">&lt;p&gt;This theme provides an optional horizontal menu
located at the bottom if each page: the footer menu.
It could be useful for contact and license entries:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
FOOTERMENUITEMS = (
  ('About',    'about.html'),
  ('Contact',  'contact.html'),
  ('Links',    'links.html'),
  ('License',  'license.html'),
)
&lt;/pre&gt;
&lt;p&gt;A second bottom horizontal menu presents the &lt;a class="reference external" href="archives.html"&gt;Archives&lt;/a&gt; and feeds.
This menu is active by default and could be removed with:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
FOOTERMENUFEED = False
&lt;/pre&gt;
&lt;p&gt;Finally, a third bottom horizontal menu could optionally defined
by the &lt;tt class="docutils literal"&gt;SOCIAL&lt;/tt&gt; standard variable of the pelican environment.
This variable is not used in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file of the
present documentation.
As for the &lt;tt class="docutils literal"&gt;MENUITEMS&lt;/tt&gt; and &lt;tt class="docutils literal"&gt;FOOTERMENUITEMS …&lt;/tt&gt;&lt;/p&gt;</summary><content type="html">&lt;p&gt;This theme provides an optional horizontal menu
located at the bottom if each page: the footer menu.
It could be useful for contact and license entries:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
FOOTERMENUITEMS = (
  ('About',    'about.html'),
  ('Contact',  'contact.html'),
  ('Links',    'links.html'),
  ('License',  'license.html'),
)
&lt;/pre&gt;
&lt;p&gt;A second bottom horizontal menu presents the &lt;a class="reference external" href="archives.html"&gt;Archives&lt;/a&gt; and feeds.
This menu is active by default and could be removed with:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
FOOTERMENUFEED = False
&lt;/pre&gt;
&lt;p&gt;Finally, a third bottom horizontal menu could optionally defined
by the &lt;tt class="docutils literal"&gt;SOCIAL&lt;/tt&gt; standard variable of the pelican environment.
This variable is not used in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file of the
present documentation.
As for the &lt;tt class="docutils literal"&gt;MENUITEMS&lt;/tt&gt; and &lt;tt class="docutils literal"&gt;FOOTERMENUITEMS&lt;/tt&gt; variables,
it consists of a list of tuples (title, url).
Note that this menu points to pages such as &lt;tt class="docutils literal"&gt;about.html&lt;/tt&gt;,
and there is a corresponding &lt;tt class="docutils literal"&gt;about.rst&lt;/tt&gt; source file
that looks like:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
About
------
:date: 2023-02-14
:status: hidden

Yes, we have writen this amazing blog!
&lt;/pre&gt;
&lt;p&gt;Observe that such a file is not a blog article:
it has the status &lt;em&gt;hidden&lt;/em&gt;
and do not appear in the navigation of articles.&lt;/p&gt;
</content><category term="Goodies"></category><category term="pelicanconf.py"></category></entry><entry><title>Internationalization (I18N)</title><link href="http://lepagito.artliba.org/2d-i18n.html" rel="alternate"></link><published>2022-02-14T00:00:00+01:00</published><updated>2022-02-14T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2022-02-14:/2d-i18n.html</id><content type="html">&lt;p&gt;All labels introduced by the present theme are modifiable.
The present &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; provides its complete list
together with the default English values:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
I18N_CATEGORY  = 'Category'
I18N_TAGS      = '#Tags'
I18N_TOP       = 'Top'
I18N_PAGE      = 'Page'
I18N_READ_MORE = 'Read more'
I18N_ARCHIVES  = 'Archives'
I18N_FEED_ALL_ATOM = 'Feed'
I18N_NEWEST    = 'Newest'
I18N_OLDEST    = 'Oldest'
I18N_FIRST     = 'First'
I18N_LAST      = 'Last'
I18N_BACK_TO   = 'Back to'
I18N_OTHERS    = 'Others'
&lt;/pre&gt;
</content><category term="Goodies"></category><category term="internationalization"></category><category term="pelicanconf.py"></category></entry><entry><title>Article navigation</title><link href="http://lepagito.artliba.org/3a-navigation.html" rel="alternate"></link><published>2021-05-14T00:00:00+02:00</published><updated>2021-05-14T00:00:00+02:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2021-05-14:/3a-navigation.html</id><summary type="html">&lt;p&gt;The navigation between two successive pagination of article summaries
is presented at the bottom:
it provides both Oldest/Newest pages and also Fist/Last,
for efficiency.
When reading articles, the navigation between previous and next articles
is presented both at the top and the bottom.
This navigation feature is implemented thanks to the pelican &lt;a class="reference external" href="https://github.com/pelican-plugins/neighbors"&gt;neighbors&lt;/a&gt; plugin.&lt;/p&gt;
&lt;p&gt;By default, the oldest pages and article navigation links
appear on the right, and newest on the left.
The &lt;tt class="docutils literal"&gt;LEPAGITO_NAVIGATION_SWAP&lt;/tt&gt; variable in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file
allows to swap from left to write this navigation.
This feature is useful when the chronology of a …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The navigation between two successive pagination of article summaries
is presented at the bottom:
it provides both Oldest/Newest pages and also Fist/Last,
for efficiency.
When reading articles, the navigation between previous and next articles
is presented both at the top and the bottom.
This navigation feature is implemented thanks to the pelican &lt;a class="reference external" href="https://github.com/pelican-plugins/neighbors"&gt;neighbors&lt;/a&gt; plugin.&lt;/p&gt;
&lt;p&gt;By default, the oldest pages and article navigation links
appear on the right, and newest on the left.
The &lt;tt class="docutils literal"&gt;LEPAGITO_NAVIGATION_SWAP&lt;/tt&gt; variable in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file
allows to swap from left to write this navigation.
This feature is useful when the chronology of a blog is not important,
as in the present documentation of the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;lepagito&lt;/a&gt; theme:
the newest article means only the first article to read.&lt;/p&gt;
</content><category term="Options"></category><category term="navigation"></category><category term="plugin"></category><category term="pelicanconf.py"></category></entry><entry><title>Self-hosted search</title><link href="http://lepagito.artliba.org/3b-search.html" rel="alternate"></link><published>2021-04-14T00:00:00+02:00</published><updated>2021-04-14T00:00:00+02:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2021-04-14:/3b-search.html</id><summary type="html">&lt;p&gt;The search function appears at the right of the top menu bar.
Rather than give up control and privacy to third-party search engine corporations,
this function adds elegant and self-hosted search capability to your site.
Last but not least, searches are &lt;strong&gt;really fast&lt;/strong&gt;.
The search function is implemented thanks to the pelican &lt;a class="reference external" href="https://github.com/pelican-plugins/search"&gt;search&lt;/a&gt; plugin.
The search engine is activated by the following line
in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
SEARCH_MODE = 'output'
&lt;/pre&gt;
&lt;p&gt;Note that the search function requires that the blog is installed:
it do not work in the off-line mode.
If you do not need searches on your site, e.g …&lt;/p&gt;</summary><content type="html">&lt;p&gt;The search function appears at the right of the top menu bar.
Rather than give up control and privacy to third-party search engine corporations,
this function adds elegant and self-hosted search capability to your site.
Last but not least, searches are &lt;strong&gt;really fast&lt;/strong&gt;.
The search function is implemented thanks to the pelican &lt;a class="reference external" href="https://github.com/pelican-plugins/search"&gt;search&lt;/a&gt; plugin.
The search engine is activated by the following line
in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt; file:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
SEARCH_MODE = 'output'
&lt;/pre&gt;
&lt;p&gt;Note that the search function requires that the blog is installed:
it do not work in the off-line mode.
If you do not need searches on your site, e.g. your tags are sufficients,
just remove the previous line from the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt;
and the search function will disappear from the top menu bar.&lt;/p&gt;
&lt;p&gt;If you are in trouble when installing &lt;a class="reference external" href="https://github.com/jameslittle230/stork"&gt;stork&lt;/a&gt;, that is necessary
for running the pelican &lt;a class="reference external" href="https://github.com/pelican-plugins/search"&gt;search&lt;/a&gt; plugin, you could just remove
both this plugin and previous line from the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt;:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
PLUGINS = ['neighbors']
#SEARCH_MODE = 'output'
&lt;/pre&gt;
</content><category term="Options"></category><category term="search"></category><category term="plugin"></category><category term="pelicanconf.py"></category></entry><entry><title>Sitemap</title><link href="http://lepagito.artliba.org/3c-sitemap.html" rel="alternate"></link><published>2021-03-14T00:00:00+01:00</published><updated>2021-03-14T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2021-03-14:/3c-sitemap.html</id><content type="html">&lt;p&gt;The &lt;a class="reference external" href="https://github.com/pelican-plugins/sitemap"&gt;sitemap&lt;/a&gt; plugin
generates a &lt;tt class="docutils literal"&gt;sitemap.xml&lt;/tt&gt; file
to facilitate the indexing of your site by search engines.
There is nothing to configure, it works as a black-box.&lt;/p&gt;
</content><category term="Options"></category><category term="sitemap"></category><category term="plugin"></category><category term="pelicanconf.py"></category></entry><entry><title>Photo galleries</title><link href="http://lepagito.artliba.org/3d-galleria.html" rel="alternate"></link><published>2021-02-14T00:00:00+01:00</published><updated>2021-02-14T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2021-02-14:/3d-galleria.html</id><summary type="html">&lt;p&gt;Last but not the least, the &lt;a class="reference external" href="http://galleria.artliba.org"&gt;galleria&lt;/a&gt; plugin allows to easily manage galleries of images.
Especially, it nicely manages the automatic generation of thumbnails from images,
as shown in the following gallery of
watercolors due to &lt;a class="reference external" href="http://pirogh.artliba.org"&gt;Pirogh&lt;/a&gt;:&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./2022-09-watercolor-grece-03-fresque-tirynthe.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/2022-09-watercolor-grece-03-fresque-tirynthe.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '350px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././2022-09-watercolor-grece-03-fresque-tirynthe.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg"
          srcset="././galleria/responsive-small/600w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '350px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg"
          srcset="././galleria/responsive-small/600w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '350px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg"
          srcset="././galleria/responsive-small/600w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;When you click on a thumbnail of a picture, a full resolution version
of this picture is displayed.
Also, try to resize the browser window and
observe the responsive display of the gallery:
the gallery is automatically readjusted and this is especially useful
when displaying on mobile phones.
Finally the thumbnail's image resolution itself is also responsive,
in the sense that it takes …&lt;/p&gt;</summary><content type="html">&lt;p&gt;Last but not the least, the &lt;a class="reference external" href="http://galleria.artliba.org"&gt;galleria&lt;/a&gt; plugin allows to easily manage galleries of images.
Especially, it nicely manages the automatic generation of thumbnails from images,
as shown in the following gallery of
watercolors due to &lt;a class="reference external" href="http://pirogh.artliba.org"&gt;Pirogh&lt;/a&gt;:&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./2022-09-watercolor-grece-03-fresque-tirynthe.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/2022-09-watercolor-grece-03-fresque-tirynthe.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '350px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././2022-09-watercolor-grece-03-fresque-tirynthe.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg"
          srcset="././galleria/responsive-small/600w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-03-fresque-tirynthe.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '350px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg"
          srcset="././galleria/responsive-small/600w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-06-fresque-akrotiri-hirondelles.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 350px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '350px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg"
          srcset="././galleria/responsive-small/600w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 600w, ././galleria/responsive-small/800w/2022-09-watercolor-grece-07-fresque-akrotiri-boxeurs.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 350px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;When you click on a thumbnail of a picture, a full resolution version
of this picture is displayed.
Also, try to resize the browser window and
observe the responsive display of the gallery:
the gallery is automatically readjusted and this is especially useful
when displaying on mobile phones.
Finally the thumbnail's image resolution itself is also responsive,
in the sense that it takes into account the physical resolution
of our window and screen resolution.
See the source file of this documentation for a complete example
and also the documentation of the &lt;a class="reference external" href="http://galleria.artliba.org"&gt;galleria&lt;/a&gt; plugin for more.&lt;/p&gt;
&lt;p&gt;To associate an image with an article, i.e. as an icon, add the metadata field.
For restructured text &lt;tt class="docutils literal"&gt;.rst&lt;/tt&gt; files, it writes:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
:image: myimage.jpg
&lt;/pre&gt;
&lt;p&gt;to the header of an article.
Associated images improve navigation:
icons are displayed together with article titles
when browsing pages and &lt;a class="reference external" href="archives.html"&gt;Archives&lt;/a&gt;.&lt;/p&gt;
</content><category term="Options"></category><category term="galleria"></category><category term="plugin"></category><category term="pelicanconf.py"></category></entry><entry><title>Custom colors</title><link href="http://lepagito.artliba.org/3e-color.html" rel="alternate"></link><published>2021-01-14T00:00:00+01:00</published><updated>2021-01-14T00:00:00+01:00</updated><author><name>I. Lepage and P. Hesse</name></author><id>tag:lepagito.artliba.org,2021-01-14:/3e-color.html</id><summary type="html">&lt;p&gt;All colors of the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;lepagito&lt;/a&gt; theme are customizable.
The default color file is &lt;tt class="docutils literal"&gt;color.css&lt;/tt&gt; and an alternate
file could be specicied by using the
&lt;tt class="docutils literal"&gt;LEPAGITO_COLOR_CSS_FILE&lt;/tt&gt; variable
in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt;, such as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
LEPAGITO_COLOR_CSS_FILE  = 'mycustomcolor.css'
&lt;/pre&gt;
&lt;p&gt;Modifying by hand the &lt;tt class="docutils literal"&gt;color.css&lt;/tt&gt; file is not obvious:
for convenience, a python script &lt;tt class="docutils literal"&gt;mk_custom_color_css.py&lt;/tt&gt; is provided
in the &lt;tt class="docutils literal"&gt;static/css&lt;/tt&gt; directory.
It admits three arguments: the two first are the rotation angles
for the hue of the warm and cold colors, and the third argument is
the optional basename for the css output file.
For zero rotation, enter the command:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
python …&lt;/pre&gt;</summary><content type="html">&lt;p&gt;All colors of the &lt;a class="reference external" href="http://lepagito.artliba.org"&gt;lepagito&lt;/a&gt; theme are customizable.
The default color file is &lt;tt class="docutils literal"&gt;color.css&lt;/tt&gt; and an alternate
file could be specicied by using the
&lt;tt class="docutils literal"&gt;LEPAGITO_COLOR_CSS_FILE&lt;/tt&gt; variable
in the &lt;tt class="docutils literal"&gt;pelicanconf.py&lt;/tt&gt;, such as:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
LEPAGITO_COLOR_CSS_FILE  = 'mycustomcolor.css'
&lt;/pre&gt;
&lt;p&gt;Modifying by hand the &lt;tt class="docutils literal"&gt;color.css&lt;/tt&gt; file is not obvious:
for convenience, a python script &lt;tt class="docutils literal"&gt;mk_custom_color_css.py&lt;/tt&gt; is provided
in the &lt;tt class="docutils literal"&gt;static/css&lt;/tt&gt; directory.
It admits three arguments: the two first are the rotation angles
for the hue of the warm and cold colors, and the third argument is
the optional basename for the css output file.
For zero rotation, enter the command:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
python mk_custom_color_css.py 0 0 mycustomcolor
&lt;/pre&gt;
&lt;p&gt;It will regenerate exactly the default color theme
but in the file &lt;tt class="docutils literal"&gt;mycustomcolor.css&lt;/tt&gt;. It also provides
&lt;tt class="docutils literal"&gt;mycustomcolor.pig&lt;/tt&gt;, which is the color set,
suitable for the &lt;a class="reference external" href="palette.artliba.org"&gt;palette&lt;/a&gt; visualization software.
This default color theme corresponds to a palette composed to two groups
of colors, the warm magenta and cold blue groups:&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-0-0-theme.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-0-0-theme.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-0-0-theme.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-0-0-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-0-theme.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-0-0-theme.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-0-0-theme.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-0-0-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-0-theme.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-0-0-palette.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-0-0-palette.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-0-0-palette.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-0-0-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-0-palette.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-0-0-palette.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-0-0-palette.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-0-0-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-0-palette.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;The second image represent the color palette in the
&lt;a class="reference external" href="https://en.wikipedia.org/wiki/CIECAM02"&gt;CIECAM Jab&lt;/a&gt; coordinate system, in the (a,b) plane: observe the
two groups of colors.
The present graph is obtained thanks to the &lt;a class="reference external" href="palette.artliba.org"&gt;palette&lt;/a&gt; visualization software.&lt;/p&gt;
&lt;p&gt;Now, let us rotate the cold blue group, until reaching the
yellow position on the palette:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
python mk_custom_color_css.py 0 195 mycustomcolor
cd ../../doc
pelican content
firefox output/index.html &amp;amp;
&lt;/pre&gt;
&lt;p&gt;We then obtain:&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-0-195-theme.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-0-195-theme.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-0-195-theme.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-0-195-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-195-theme.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-0-195-theme.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-0-195-theme.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-0-195-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-195-theme.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-0-195-palette.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-0-195-palette.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-0-195-palette.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-0-195-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-195-palette.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-0-195-palette.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-0-195-palette.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-0-195-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-195-palette.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;Let us now rotate the same group until it reaches the magenta position:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
python mk_custom_color_css.py 0 120 mycustomcolor
&lt;/pre&gt;
&lt;p&gt;The two groups are now superposed and we obtain a camaïeu:&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-0-120-theme.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-0-120-theme.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-0-120-theme.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-0-120-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-120-theme.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-0-120-theme.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-0-120-theme.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-0-120-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-120-theme.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-0-120-palette.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-0-120-palette.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-0-120-palette.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-0-120-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-120-palette.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-0-120-palette.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-0-120-palette.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-0-120-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-0-120-palette.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
&lt;p&gt;Finally, the first warm group is also rotated until it reaches the blue position:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
python mk_custom_color_css.py 240 120 mycustomcolor
&lt;/pre&gt;
&lt;p&gt;The two initial groups are now swapped:&lt;/p&gt;
  &lt;ul class="galleria"
  &gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-240-120-theme.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-240-120-theme.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-240-120-theme.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-240-120-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-240-120-theme.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-240-120-theme.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-240-120-theme.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-240-120-theme.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-240-120-theme.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
      &lt;li&gt;
&lt;!-- SITEURL              = . --&gt;
&lt;!-- image_relative_path  = ./mycustomcolor-240-120-palette.jpg --&gt;
&lt;!-- image_full_path      = /home/hesse/dvt-perso/lepagito/doc/content/mycustomcolor-240-120-palette.jpg --&gt;
&lt;!-- image_replace        = ././galleria/responsive-small/800w/mycustomcolor-240-120-palette.jpg --&gt;
&lt;!-- image_sizes          = (min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw --&gt;
&lt;!-- image_srcset         = ././galleria/responsive-small/600w/mycustomcolor-240-120-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-240-120-palette.jpg 800w --&gt;
&lt;!-- image_sources        = None --&gt;
&lt;!-- image_caption        =  --&gt;
&lt;!-- image_target         =  --&gt;
&lt;!-- image_class          = responsive-small --&gt;
&lt;!-- image_type           = responsive-image --&gt;
&lt;!-- max_height           = 600px --&gt;
&lt;!-- options              = {'class': 'responsive-small', 'max-height': '600px', 'type': 'responsive-image'} --&gt;
&lt;!-- single_image         =  --&gt;
&lt;figure&gt;
    &lt;a href="././mycustomcolor-240-120-palette.jpg"&gt;
      &lt;img
          sizes="(min-width: 768px) 650px, (min-width: 1200px) 800px, 100vw"
          src="././galleria/responsive-small/800w/mycustomcolor-240-120-palette.jpg"
          srcset="././galleria/responsive-small/600w/mycustomcolor-240-120-palette.jpg 600w, ././galleria/responsive-small/800w/mycustomcolor-240-120-palette.jpg 800w"
          style="max-width: 100%; height: auto; max-height: min(100vh, 600px);"
      &gt;
    &lt;/a&gt;
&lt;/figure&gt;      &lt;/li&gt;
  &lt;/ul&gt;
</content><category term="Options"></category><category term="color"></category><category term="pelicanconf.py"></category></entry></feed>