Commit graph

102 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
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