Commit graph

413 commits

Author SHA1 Message Date
Alexandre Vicenzi
fe34dfed6f
Merge pull request #312 from lioman/improve-stork-loading
Improve stork loading
2022-12-01 12:00:56 +01:00
Alexandre Vicenzi
faec6935e9
Merge pull request #311 from lioman/master
check for new neighbor and seo namespace plugins
2022-12-01 11:59:26 +01:00
Elias Kirchgässner
f98b769a70 fix load of self hosted wasm 2022-09-06 10:03:56 +02:00
Elias Kirchgässner
82de4cb504 load stork index on click 2022-09-06 09:51:50 +02:00
Elias Kirchgässner
1b2844e926 check for seo, neighbors as namespace plugins
These two plugins moved recently to new versions.
They have a module name preceeded by 'pelican.plugins.'
2022-09-02 09:43:56 +02:00
Elias Kirchgässner
56e011d70a Merge branch 'master' of github.com-priv:lioman/Flex 2022-09-02 09:33:51 +02:00
Alexandre Vicenzi
e63fdae267 Fix list 2022-08-31 22:34:45 +02:00
Alexandre Vicenzi
f7d304152b Add 2.5 release notes 2022-08-31 22:28:46 +02:00
Alexandre Vicenzi
c6d10df0fe Minify styles 2022-08-31 22:05:15 +02:00
Alexandre Vicenzi
4333445315 Update translations 2022-08-31 22:00:57 +02:00
Alexandre Vicenzi
d6d537cb9d Add figcaption style
Fixes #302
2022-08-31 21:53:20 +02:00
Alexandre Vicenzi
e31f5fe330 Add toc style
Fixes #300
2022-08-31 21:40:20 +02:00
Alexandre Vicenzi
b3c04ea205 Fix stork
Fixes #309
2022-08-31 21:28:39 +02:00
Alexandre Vicenzi
b7350ed58c Update font awesome 2022-07-08 21:10:36 +02:00
Alexandre Vicenzi
98cfee4ce2 Split base into multiple partials 2022-07-08 20:36:43 +02:00
Alexandre Vicenzi
c96adc71f9 Update pelican files 2022-07-08 19:41:42 +02:00
Alexandre Vicenzi
0006c3e6db
Merge pull request #290 from fghaas/tox-plus-series
Support the Series plugin
2022-07-08 15:45:32 +02:00
Alexandre Vicenzi
3b11bc9908
Merge pull request #298 from lioman/add-stork
Add stork search
2022-07-08 15:36:14 +02:00
Alexandre Vicenzi
fdcd9fa344
Merge pull request #299 from lpenaud/watch-task
Set up gulp watch
2022-07-08 15:35:08 +02:00
Alexandre Vicenzi
808fcb39f4
Merge pull request #304 from schmittlauch/title-striptags
page template: strip tags from site title
2022-07-08 15:34:21 +02:00
Alexandre Vicenzi
b69f369a57
Create CODEOWNERS 2022-07-08 15:31:46 +02:00
Trolli Schmittlauch
8484e93075 page template: strip tags from site title
A website's `<title>` cannot contain further html formatting and
layouting elements. Thus, as already done in the article template,
additional html tags need to be stripped from the title to not appear in
verbatim in a browser's title page.

This is relevant when using TYPOGRIFY integration, as that might also
augment a page title with further html elements automatically.
2022-04-23 09:57:50 +02:00
lpenaud
e0f1ab7d52 Set up gulp watch #226 2022-03-12 16:03:54 +01:00
Elias Kirchgässner
0308fe1056 extract stork search in include 2022-03-10 10:40:22 +01:00
Alexandre Vicenzi
af0cfa52e3
Merge pull request #295 from schmittlauch/fixCustomCssI18NMaster
Fix: correct custom CSS URL for I18N pages
2022-03-08 14:12:44 +01:00
Alexandre Vicenzi
b1d0b24b4f
Merge pull request #291 from sercxanto/fix_tipue_search
Fix tipue search
2022-03-08 14:08:20 +01:00
Alexandre Vicenzi
33255d1471
Merge branch 'master' into fix_tipue_search 2022-03-08 14:07:39 +01:00
Alexandre Vicenzi
a303a3b6ed
Merge pull request #294 from lioman/master
#293: respect use_google_fonts in tipue search
2022-03-08 14:03:06 +01:00
Elias Kirchgässner
4e99152aff support stork search
- add search css
- include js and wasm from cdn or locally
- initialize js
2022-03-07 13:55:35 +01:00
Trolli Schmittlauch
6d821518f1 Fix: correct custom CSS URL for I18N pages
problem description:
When using the i18n_subsites plugin – which is somehow supported by this
theme – the SITEURL is modified for all but the default language,
causing the construction {{ SITEURL }}/{{ CUSTOM_CSS }} to change as
well.
This in principle affects all such template constructions where SITEURL
is prepended to a custom loading path.
One exception is {{ THEME_STATIC_DIR }}, which is adjusted by the
i18n_subsites code to still match for translations.

solution:
The i18n plugin introduces an additional context variable
{{ main_siteurl }}, which always points at the original unmodified
SITEURL. As unfortunately this variable is not present in non-i18n
sites, it's existence is checked first, taking SITEURL as a fallback.
This special handling is acceptable IMHO, as at first glance I could not
find any other affected URLs in templates.

follow-up to #192
2022-03-01 03:41:15 +01:00
Elias Kirchgässner
ca99343527 Merge branch 'master' of github.com:lioman/Flex 2022-02-25 09:38:37 +01:00
Elias Kirchgässner
b86f05c8a0 Merge branch 'master' of github.com:lioman/Flex 2022-02-25 09:37:53 +01:00
Elias Kirchgässner
53fc53b8b9 #293: respect use_google_fonts in tipue search
tipue search has included the font import
without respecting the settings.
2022-02-25 09:20:21 +01:00
Georg Lutz
1e31ab9b50 Fix tipue search
The tipue plugin registers itself as pelican.plugins.tipue_search (namespace
plugin) in the latest version see here:
7fe8f3f05c

Keep old style tipue_search to be compatible with old versions.

To use the search one would need to add "search" to DIRECT_TEMPLATES in
pelicanconf.py so that search.html is copied to the output folder:

    DIRECT_TEMPLATES = ["index", "tags", "categories", "archives", "search"]
2021-12-28 22:11:17 +01:00
Florian Haas
20725c8dc0 Support Series plugin
The Pelican Series plugin (https://github.com/pelican-plugins/series)
is a convenient way for authors to link articles together as multiple
installments of a series.

Add support for the Series plugin to this theme: render articles
belonging to a series with a footer pointing to the preceding and
following articles in the series, using the same styling as "related
posts" links.

This implementation is heavily inspired by the Series plugin in the
Pelican bootstrap3 theme (MIT licensed):
https://github.com/getpelican/pelican-themes/blob/master/pelican-bootstrap3/templates/includes/series.html

Fixes #289.
2021-10-15 21:14:28 +02:00
Florian Haas
1220329ce4 Add a simple test facility with tox and GitHub actions
In order to ensure that feature additions don't break existing Flex
theme deployments, build the docs site on any branch push and PR.

To do so,

* Add a simple tox.ini that runs "pelican -s docs/pelicanconf.py" in
  virtualenvs configured for Python versions 3.6 - 3.9.
* Add an additional GitHub Actions workflow that invokes these
  testenvs with the matching Python version, and runs on any branch push
  and on any pull request.
2021-10-14 21:56:37 +02:00
Alexandre Vicenzi
7e99f9bbe6
Merge pull request #287 from Linkid/update/changelog-2.3-2.4
Changelog: add the latest release notes
2021-10-02 21:22:52 +02:00
François Magimel
ee45e48477 Changelog: add version 2.4.0
An article is available on the blog:
https://flex.alxd.me/flex-pelican-theme-update-2-4.html.
2021-10-02 19:02:10 +02:00
François Magimel
5bfd3d04f7 Changelog: add version 2.3.0
An article is available on the blog:
https://flex.alxd.me/flex-pelican-theme-update-2-3.html.
2021-10-02 19:01:21 +02:00
Alexandre Vicenzi
a2b7d6de37
Merge pull request #276 from radoeka/radoeka-patch-1
Article summary improvement
2021-07-27 00:57:17 +02:00
Richard Bos
9aeade2d23
Index summary improvement
Article summary improvement, in case the summary consist of only 1 line.
This patch takes care that the button "Continue Reading" is shown under the article, instead of against the article.
It will be located at the same location compared to multi-line summaries.
2021-07-26 21:58:29 +02:00
Alexandre Vicenzi
07bd7940dc
Merge pull request #278 from radoeka/radoeka-patch-3
Make the CUSTOM_CSS html code consistent
2021-07-26 21:36:10 +02:00
Alexandre Vicenzi
483edd7e3a
Merge pull request #277 from radoeka/radoeka-patch-2
tipue_search search improvement
2021-07-26 21:34:54 +02:00
Richard Bos
5ad43b31a4
Make the CUSTOM_CSS html code consistent
Make the CUSTOM_CSS html code consistent and with that the same as the <link> html lines.
2021-07-26 17:02:02 +02:00
Richard Bos
81dbd791cc
tipue_search search improvement
Support Flex search, that is located in a sub directory, like https://FQDN/blog.
2021-07-26 16:55:32 +02:00
Richard Bos
8ed7c50492
Article summary improvement
Article summary improvement, in case the summary consist of only 1 line.
This patch takes care that the button "Continue Reading" is shown under the article, instead of against the article.
It will be located at the same location compared to multi-line summaries.
2021-07-26 16:49:46 +02:00
Alexandre Vicenzi
21dd3f677b
Merge pull request #267 from MaevaBrunelles/support-seo-plugin
Add support for SEO Pelican plugin
2021-06-17 01:23:43 +02:00
Alexandre Vicenzi
ba16eb64a3
Merge branch 'master' into support-seo-plugin 2021-06-17 01:23:24 +02:00
Alexandre Vicenzi
7d302faed8
Merge pull request #270 from fy0/patch-1
add trailing slash for SITEURL.
2021-06-17 01:15:29 +02:00
Alexandre Vicenzi
e04a96108b Drop JINJA_EXTENSIONS
Fix #268
2021-06-17 01:14:27 +02:00