Commit graph

53 commits

Author SHA1 Message Date
Fidel Ramos
fc05942499
Refactor get_target to return just the target value 2019-10-30 23:13:38 +00:00
Fidel Ramos
f0e999a68a
Rename link_target macro to get_target 2019-10-30 22:03:01 +00:00
Fidel Ramos
2455759bd8
LINKS_IN_NEW_TAB setting
This setting can be modified to open all LINKS in the same window,
open all LINKS in a new window or only only external links in new
windows.
2019-10-27 14:10:35 +00:00
Fidel Ramos
56a2a32974
Better targetting of internal links 2019-10-19 20:48:28 +00:00
Fidel Ramos
d3d7a8fc7f
Open external LINKS in new window, relative LINKS in same window
This is an improvement over commit 90e3ee38f so it's not necessary to
change the structure of the LINKS setting, just set relative links and
they will be open in the same window, same as the `MAIN_MENU`.
2019-10-19 20:33:30 +00:00
Fidel Ramos
90e3ee38ff
Support defining LINKS that open in the same window
Currently all LINKS open in a new window (target="_blank"), but in
some cases it's desirable to open them in the same window. For example
I use it for linking to categories and tags:

LINKS = (
    ('Categories', SITEURL+'/categories#categories', False),
    ('Tags', SITEURL+'/tags#tags', False),
)

Old format and experience is still supported, this is
backwards-compatible.
2019-10-19 17:49:13 +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
Kevin Chi Yan Tang
ac49889075 Sort pages using PAGES_SORT_ATTRIBUTE only if explicitly defined. 2019-04-20 16:44:06 +02: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
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
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
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
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
Alexandre Vicenzi
34c1143204 Fixes. 2017-04-22 03:41:39 -03:00
Oliver Pratt
06938e4bbb noindex nofollow robots meta tag value for hidden pages 2017-03-09 21:43:12 -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
Alexandre Vicenzi
062fa8eb3e Short validation. 2017-01-11 21:32:48 -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
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
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
0d8e995fef Improve tags. 2016-06-02 20:11:21 -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
Alexandre Vicenzi
ef437db82b Rename folder. 2016-02-15 22:15:28 -02: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
Sébastien Alix
b8831b84ce Allow custom CSS stylesheets to override the default one 2015-09-27 19:48:43 +02:00
Karol Kuczmarski
66b27aad17 Use THEME_STATIC_DIR for asset URL's 2015-08-20 22:25:56 -07:00
Alexandre Vicenzi
2adc599df7 Fix template. 2015-07-22 23:02:51 -03:00
Alexandre Vicenzi
8fa5ee871d Change font size. 2015-07-22 01:26:35 -03:00
Alexandre Vicenzi
edc47c84ab AddThis support. 2015-07-21 00:49:51 -03:00