Commit graph

162 commits

Author SHA1 Message Date
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
65df195b4e
Added tipuesearch_content.js to base.html when tipuesearch is enabled 2020-04-16 10:08:26 -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
Jack McKew
fbe7d17fb0
Add tipue search integration (#193)
* Add tipue search integration
2020-02-07 18:06:17 +01:00
Fidel Ramos
d97d5a586d Support defining LINKS that open in the same window (#185)
* Support defining LINKS that open in the same window
2019-11-01 09:38:10 +01:00
Alexandre Vicenzi
0490ead40f
Merge pull request #188 from haplo/alternate-links
Set alternate link tags for translated content
2019-10-31 00:07:54 +01:00
Fidel Ramos
d13b9ae0a8
Set alternate link tags for translated content
`<link rel="alternate">` is good practice for SEO and helps people
find the content in their preferred language.
2019-10-27 15:21:23 +00:00
Alexandre Vicenzi
7a35b60aff
Merge pull request #186 from haplo/ids-for-archives-and-authors-pages
Add id attribute to archives and authors pages
2019-10-19 22:39:29 +02:00
Fidel Ramos
1327164a2d
Add id attribute to archives and authors pages
This allows linking to these pages below the fold.
2019-10-19 20:22:39 +00:00
Alexandre Vicenzi
03ac34078a Change powered by message. 2019-10-19 21:02:23 +02:00
Fidel Ramos
c11530bbe2
Add id attribute to categories and tags pages
This allows linking to these pages below the fold.
2019-10-19 17:18:14 +00:00
Nicolas Le Gall
56ff304672 Replace Piwik code with Matomo (#183)
Piwik was renamed to Matomo
2019-06-24 21:51:12 +02:00
Alexandre Vicenzi
63e3192b27
Merge pull request #171 from RiceKab/page-sort-fallback
Using PAGE_ORDER_BY as the default sorting setting.
2019-04-23 12:29:32 +02:00
Kevin Chi Yan Tang
ac49889075 Sort pages using PAGES_SORT_ATTRIBUTE only if explicitly defined. 2019-04-20 16:44:06 +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
Kevin Chi Yan Tang
8a80be0b78 Added PAGE_ORDER_BY as the default page ordering setting. Falls back to PAGES_SORT_ATTRIBUTE when this is not defined (the old behaviour). 2019-03-24 11:32:53 +01:00
André Anjos
953ede091b Support DISPLAY_PAGES_ON_MENU (#116) 2019-01-03 20:25:19 +01:00
Alexandre Vicenzi
8da13c059a Change validation type. 2019-01-02 23:53:47 +01:00
Paweł Ngei
ce44bfe139 Add a rel='me' for mastodon links for automatic network verification (#166)
add a rel='me' for mastodon links for automatic network verification
2018-12-24 12:29:32 +01:00
Alexandre Vicenzi
2bfd49a853
Merge pull request #156 from pawelngei/just-icons
Upgrade Font Awesome to 5 and decrease contact icon jump
2018-12-04 10:39:02 +01:00
alxd
290f94f4de remove unnecessary whitespace if there's no Continue Reading button 2018-10-16 13:05:58 +02:00
alxd
b0f9d0fd21 compare article and summary contents, not their lengths 2018-10-16 13:05:24 +02:00
alxd
2435527e32 replace envelope-open icon with envelope 2018-10-16 12:56:52 +02:00
alxd
9e23ebfcad collapse base.html else/if to one line 2018-10-16 12:50:43 +02:00
alxd
6a0ebc70e5 make the font awesome class if/else more readable 2018-10-07 12:50:49 +02:00
alxd
4f9262302f display "continue reading" button only if the article is longer than a summary 2018-10-07 12:41:39 +02:00
Nicholas Nadeau, P.Eng., AVS
0cd2d00d99
striptags from article title 2018-07-30 18:46:25 -04:00
alxd
a8d8188003 decrease icon jumping and optimize icon lib switching 2018-07-17 16:39:17 +02:00
alxd
775df1256d upgrade font-awesome to 5 and add mastodon 2018-07-05 23:12:25 +02:00
Alexandre Vicenzi
69077d3d19 Websafe fonts and option to disable google fonts.
This issue is related to #118.
2018-06-24 00:37:12 -03: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
olipratt
656be15154 Close the addthis relatedposts div, and only include it if addthis is enabled in config 2018-02-24 13:59:51 +00: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
Behnam Esfahbod ❄
6c92ccb57b
Move important head elements to top of the block
The `<meta charset>` tag is expected to be in the first 1024 bytes of an HTML file, so it's common to keep it as the very first item under the `<head>` tag. (See <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta>)

Also moving up other important meta tags which may affect rendering of the page as a whole.
2017-11-14 09:17:20 -08: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
Lucas Verney
f977cb353f Draw period_archives according to the archives model. This fixes margin for period archives. (#126)
Draw period_archives according to the archives model
2017-07-12 11:18:16 -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
Alexandre Vicenzi
567cc8964f Fix #90. 2017-03-14 01:17:17 -03:00
Oliver Pratt
06938e4bbb noindex nofollow robots meta tag value for hidden pages 2017-03-09 21:43:12 -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
Dmytro Litvinov
2d76193b9e Change ADD_THIS for working inline tool (#89) 2017-02-24 09:06:49 -03:00
Matěj Šmíd
9b7f89a5e7 added support for representative_image plugin (#83) 2017-02-23 13:50:54 -03:00
Dmytro Litvinov
a76e802b8f Add variable DISABLE_URL_HASH for pretty URL in browser (#88) 2017-02-23 13:47:51 -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
Axel Haustant
3b5518e64e Add some blocks to page for easier customization 2017-02-02 07:35:00 +01:00
Alexandre Vicenzi
062fa8eb3e Short validation. 2017-01-11 21:32:48 -02:00
Alexandre Vicenzi
eb8893064c Merge pull request #75 from ncharlot/master
Fixed i18n extension test (#74)
2017-01-11 21:04:23 -02:00
Alexandre Vicenzi
23a0e8cdb4 Merge pull request #66 from jswh/master
add doushuo
2017-01-11 21:01:54 -02:00
Nicolas CHARLOT
f17e6bf5a4 Fixed line return 2017-01-09 18:14:22 +01:00
Nicolas CHARLOT
389b3f42fa Fixed i18n extension test (https://github.com/alexandrevicenzi/Flex/issues/74) 2017-01-09 18:01:47 +01:00
jswh
2fb46afce1 add doushuo 2016-11-30 17:35:47 +08:00
Marc-Antoine Parent
201ea869dc allow to choose a page sort attribute other than alphabetical 2016-11-19 09:27:16 -05:00
Alexandre Vicenzi
6120f6bc25 AdSense improvments
See #47.
2016-11-07 22:13:43 -02:00
Alexandre Vicenzi
49e0a6880a Move variables to separated less file.
This allows to customize Flex more easily.
2016-09-14 00:04:22 -03:00
Alexandre Vicenzi
72180a8f4a Update translations. 2016-08-24 21:56:04 -03:00
Alexandre Vicenzi
723e047add Pluginless translation. 2016-08-11 21:07:52 -03: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
Marcel Huth
5497850c51 Reworked to newstyle gettext and named vars 2016-08-10 19:28:32 +02:00
Alexandre Vicenzi
2947c38fbc Merge pull request #46 from marcelhuth/i18n
Localization support for Flex theme
2016-08-08 23:49:21 -03:00
Alexandre Vicenzi
38013068b7 Change Cover metadata to relative path. 2016-08-08 23:08:44 -03:00
Marcel Huth
bda626352c Added the template files for localization 2016-07-30 14:34:54 +02:00
Alexey Nikolaenko
7549977ef1 Allow to setup design for Status Case badge
Now it's possible to setup desired design with STATUSCAKE property.
Example: { 'trackid': 'id', 'days': 7, 'design': 4, 'rumid': id}
2016-06-12 11:38:36 +01:00
Alexandre Vicenzi
0d8e995fef Improve tags. 2016-06-02 20:11:21 -03:00
Alexandre Vicenzi
8e5c3c2591 Merge pull request #39 from barryorourke/wrap_aside_elements
wrap aside elements in order to minimise empty space if they are unde…
2016-05-06 00:20:05 -03:00
Mr. Senko
2f56acec3d Enable StatusCake RUM. Closes #16 2016-05-05 01:05:41 +03:00
Barry O'Rourke
ad1d58a686 Update base.html
check for pages or LINKS, rather than just pages
2016-04-30 21:27:49 +01:00
Barry O'Rourke
5298bdbede wrap aside elements in order to minimise empty space if they are undefinded 2016-04-30 19:03:05 +01:00
Alexandre Vicenzi
b72e9e5536 New pygments styles.
See #38.
2016-04-23 20:16:24 -03:00
cassiobotaro
e104548d5d Fix font awesome path 2016-04-23 09:57:34 -03:00
Alexandre Vicenzi
d1fb42485b Update font-awesome. 2016-04-23 03:15:55 -03:00
cassiobotaro
1eafe20027 Added browser color configuration 2016-04-22 23:07:58 -03:00
Matt Klich
98159f07d0 Merge remote-tracking branch 'origin/master' into related_posts-plugin-support 2016-02-22 11:36:11 -07:00
Matt Klich
2dd409a44d Rework related_posts css. 2016-02-22 11:32:50 -07:00
Alexandre Vicenzi
fe4d5a4ff2 Fix summary problems. 2016-02-15 22:45:54 -02:00
Alexandre Vicenzi
ef437db82b Rename folder. 2016-02-15 22:15:28 -02:00
Matt Klich
0e629861c4 Initial support for the related_posts plugin. 2016-02-12 17:58:47 -07:00
Alexandre Vicenzi
eac81087ee Merge pull request #26 from elementalvoid/archives-learns-multiple-articles-per-date
Update archives template to display the date once all articles on the date.
2016-02-12 22:08:51 -02:00
Matt Klich
32dde1392e Remove unnecessary colon. 2016-02-09 17:48:38 -07:00
Matt Klich
a44fba59a2 Update archives to display the date once all articles on the date.
The old method printed the date for every article even if they had the
same publish date. This update prints the date once for all articles
published on that date.
2016-02-06 21:42:48 -07:00
Sascha Wagner
ad1ea4186d Strip tags from title in JSON-LD
(cherry picked from commit 0bb74527677de3163f9fa81d7320680b0f1adb91)
Signed-off-by: Sascha Wagner <sascha.wagner.89@gmail.com>
2016-02-02 08:56:47 +01:00
Sascha Wagner
3090b344d8 Strip HTML tags from title
(cherry picked from commit 79314426a4e3a4142c3ed2907839a03fed6f972c)
Signed-off-by: Sascha Wagner <sascha.wagner.89@gmail.com>
2016-01-31 22:00:47 +01:00
Alexandre Vicenzi
8ecbec719d Refactor. 2015-11-24 23:55:55 -02:00
Mark Caudill
ad627036b6 Reorganize guag.es integration per alexandrevicenzi. 2015-11-24 19:01:08 -05:00
Mark Caudill
8c3ad620c8 Add guag.es integration.
Set GUAGES in pelicanconf.py to your data-site-id.

See http://get.gaug.es/
2015-11-23 19:43:10 -05:00
Benjamin Bouvier
3ec493c386 Add support for Piwik 2015-11-21 13:44:15 +01:00