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
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
Elias Kirchgässner
0308fe1056
extract stork search in include
2022-03-10 10:40:22 +01:00
Maëva Brunelles
73bc9aac05
Add support for SEO Pelican plugin
2021-04-21 22:58:07 +02:00
Alexandre Vicenzi
6b6dab83d4
Translate license
...
Fix #232
2021-02-04 22:33:17 +01:00
Alexandre Vicenzi
23ac7c30a4
Hide CC icon
...
Fix #223
2021-02-04 22:06:02 +01:00
John Cairns
7fe8953a2f
Flex-260: Add support for Microsoft Clarity
2021-02-02 16:17:19 -06:00
Christian Cardone
cf45bc0412
Add Google Global Site Tags configuration for new Google Analytics 4
...
This addition enables users to set their Google Measurement ID into the variable GOOGLE_GLOBAL_SITE_TAG in pelicanconf so that they can track analytics using GA 4 Closes #256 (#257 )
2020-12-15 11:09:05 +01:00
saagit
c205163fd7
Fix compatibility with Pelican 4.5.0 when PLUGINS is not set in pelicanconf.py
...
Pelican 4.5.0 changed the plugins mechanism and the default for
PLUGINS is now None. The following type of construct is used in a
number of places in Flex:
{% if 'tipue_search' in PLUGINS %}
If PLUGINS is not set in pelicanconf.py, the following exception will
be triggered under Pelican 4.5.0:
TypeError: argument of type 'NoneType' is not iterable
The Pelican maintainers did not intend the examination of PLUGINS by
templates to be a stable API (per a discussion on IRC). Per their
request, an enhancement request for a mechanism to do this has been
submitted here: https://github.com/getpelican/pelican/issues/2797
This commit changes the problematic constructs in Flex to be in the
style of:
{% if PLUGINS and 'tipue_search' in PLUGINS %}
This allows Flex to work with Pelican 4.5.0 even if users do not
define PLUGINS. Note that to use the new namespace plugins in Pelican
4.5.0, PLUGINS will have to be left at its default of None.
Resolves #245
2020-09-10 08:42:20 -07:00
Jed Ludlow
baf5a16a06
Place copyright year ahead of copyright name
...
Traditional placement is to have the year precede the name, so
modifying standard templates to match this.
2020-08-26 09:38:58 -06:00
Alexandre Vicenzi
6b87efa507
Rename files
2020-04-20 23:19:01 +02:00
Sumner Evans
582adec6a4
Greatly simplified all of the logic; moved the JS to a separate file
2020-04-16 15:54:36 -06:00
Sumner Evans
a18c421354
Made the switch text translateable
2020-04-16 13:48:24 -06:00
Sumner Evans
0d047f7327
Address a few comments from from PR
2020-04-16 10:40:37 -06:00
Sumner Evans
ec1acb115a
Fixed some bugs with various settings combinations
2020-04-16 10:35:27 -06:00
Sumner Evans
904484e2b4
Added themeing options
...
Added THEME_COLOR, THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE, and THEME_COLOR_ENABLE_USER_OVERRIDE options
2020-04-16 10:35:27 -06:00
Sumner Evans
9b3495da5d
Moved all of the styles in to Flex from my website
2020-04-16 10:35:26 -06:00
Sumner Evans
0d56e19d6a
Default to monokai in dark theme and fixed defaulting mechanism in the JS
2020-04-16 10:35:26 -06:00
Sumner Evans
927306ddb9
Undo changes that are included in other PRs
2020-04-16 10:35:26 -06:00
Sumner Evans
02e1404e34
Make pygments style switching work when JS is off, but prefers-color-scheme is enabled
2020-04-16 10:35:26 -06:00
Sumner Evans
5955f45a30
Improve the theme detection logic
2020-04-16 10:35:26 -06:00
Sumner Evans
6816d4800b
Add a couple comments
2020-04-16 10:35:26 -06:00
Sumner Evans
91aa9016e7
Dark mode for Pygments
2020-04-16 10:35:25 -06:00
Sumner Evans
543ae58a37
Added support for dark mode detection
2020-04-16 10:35:25 -06:00
Sumner Evans
9bb3eb2456
Added isso.min.js as default ISSO_EMBED_JS_PATH
2020-04-15 09:15:46 -06:00
Sumner Evans
eb68d3a9d9
Added support for Isso
2020-04-15 09:08:08 -06:00
Alexandre Vicenzi
03ac34078a
Change powered by message.
2019-10-19 21:02:23 +02:00
Nicolas Le Gall
56ff304672
Replace Piwik code with Matomo ( #183 )
...
Piwik was renamed to Matomo
2019-06-24 21:51:12 +02:00
east4ming
b16ec8531e
change statuscake img src
...
change statuscake img src.
From "https://www.statuscake.com/app " to "https://app.statuscake.com "
2019-03-27 09:52:12 +08:00
Nicholas Nadeau, P.Eng., AVS
0cd2d00d99
striptags from article title
2018-07-30 18:46:25 -04:00
Alexandre Vicenzi
598e0e49b2
Merge pull request #127 from Phyks/cc_images
...
Add an option to host CC icon rather than querying an external service
2018-06-23 22:12:28 -03:00
Eric Light
3c4067cdce
Fix iFrame target
2018-01-06 16:11:27 +13:00
Eric Light
f9c6297eae
Fix JS .src target
2018-01-06 16:09:16 +13:00
jswh Elric
4d1d792174
remove duoshuo
2017-11-12 01:26:34 +08:00
Eric Light
229ad20d36
Move Google Analytics import into the <head> section ( #138 )
...
* Move Google Analytics import into the <head> section
* Changes to move Google Tag Manager into <head> tag, while leaving the noscript section in the <body> tag.
2017-09-20 17:34:36 -03:00
Phyks (Lucas Verney)
81b48555e7
Add an option to host CC icon rather than querying an external service
...
See #112 for more context on this.
2017-06-23 14:52:50 +02:00
Alexandre Vicenzi
46fe5918cd
Styles.
2017-04-22 20:16:33 -03:00
Marc-Antoine Parent
1802e84241
Support article translation
2017-04-22 19:34:29 -03:00
Oliver Pratt
a6f12ec781
Add support for the neighbors plugin ( #98 )
2017-04-22 03:54:50 -03:00
Alexandre Vicenzi
34c1143204
Fixes.
2017-04-22 03:41:39 -03:00
Oliver Pratt
772035ea96
Make the pagination buttons draw with the same height ( #92 )
2017-03-02 17:01:46 -03:00
Antoine Lorence
25be6c1a1a
Fix <noscript> tag in Piwik tracking script ( #94 )
2017-03-02 09:11:19 -03:00
Matěj Šmíd
92db3aa5f7
changed variable name
2017-02-15 14:23:50 +01:00
Matěj Šmíd
ec0a6f90e4
moved the conditional to the base.html
2017-02-15 14:08:35 +01:00
Matěj Šmíd
88dda65cad
github corners support
2017-02-15 13:43:08 +01:00
jswh
2fb46afce1
add doushuo
2016-11-30 17:35:47 +08:00
Alexandre Vicenzi
549a882acb
Improvments.
...
- Better messages
- X min read
- pt_BR translation
- Better style for read more
2016-08-10 23:20:35 -03:00
Alexandre Vicenzi
df41de5f6a
Merge pull request #51 from marcelhuth/i18n
...
Reworked to newstyle gettext and named vars
2016-08-10 14:58:58 -03:00