diff --git a/pelicanconf.py b/pelicanconf.py index f18e53668..8c0107746 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -30,7 +30,7 @@ DEFAULT_PAGINATION = 25 # Uncomment following line if you want document-relative URLs when developing PLUGIN_PATHS = ['./plugins', './plugins-custom'] -PLUGINS = ['extract_toc', 'i18n_subsites', 'summary', 'events_ics'] +PLUGINS = ['dateish','extract_toc', 'i18n_subsites', 'summary', 'events_ics'] MD_EXTENSIONS = ['codehilite','extra','toc'] STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs'] @@ -61,3 +61,5 @@ PLUGIN_EVENTS = { 'default_location' : '', 'calendar_per_category': True } + +DATEISH_PROPERTIES = ['event_start', 'event_end'] diff --git a/themes/cetcat/static/css/main.css b/themes/cetcat/static/css/main.css index cdbbaad0b..ea446c775 100644 --- a/themes/cetcat/static/css/main.css +++ b/themes/cetcat/static/css/main.css @@ -171,6 +171,9 @@ pre{ width: 100%; margin:0 0 1em 0; } +.long-read .hentry{ + width:calc(400px + 2em); +} .hentry{ display: inline-block; width: 200px; @@ -273,7 +276,7 @@ pre{ } /* add a monochrome filter over past events */ -.past-event{ +.past-event img{ filter:opacity(0.1); /*filter: url("/images/filter.svg#monochrome"); -webkit-filter: url("/images/filter.svg#monochrome");*/ diff --git a/themes/cetcat/templates/index.html b/themes/cetcat/templates/index.html index 35632f997..99096bff0 100644 --- a/themes/cetcat/templates/index.html +++ b/themes/cetcat/templates/index.html @@ -8,16 +8,23 @@ {% endif %}