Commit Graph

282 Commits

Author SHA1 Message Date
squidfunk
130241791d Formatting 2021-01-24 13:02:42 +01:00
squidfunk
ebd8839a03 Formatting 2021-01-17 10:41:10 +01:00
Oleh Prypin
81a13f6bc6
Optimized nested navigation rendering: don't cross template boundary (#2213)
The number of calls to sub-templates when rendering the navigation is O(n^2) relative to the number of pages. This is the only such instance, which is why I think this is worth optimizing.

The optimization here doesn't improve the complexity, it just removes the overhead of instantiating a new Jinja template for each of these calls.

E.g. for 710 pages on the site, the number of calls to Jinja's `get_template` (implying `new_context` and others) crosses a million ==(710**2)*2. They're not expensive but also not super cheap, and add up to a big percentage of overall site build times.
2021-01-17 10:38:03 +01:00
allmightyse
1e0a242d92
Fixed syntax error in Swedish translations (#2210)
* Update sv.html

#2209 Correct syntax error from ; to :

* Update sv.html
2021-01-15 15:03:13 +01:00
squidfunk
a339a8afb6 Renamed 'language' partials folder into 'languages' for consistency 2020-12-30 13:21:27 +01:00
squidfunk
d754bd9a71 Merge of Insider features part of 'Prairie Fire' funding goal 2020-12-20 15:00:21 +01:00
squidfunk
7e78c4d8b7 Added distribution files 2020-12-15 09:02:26 +01:00
squidfunk
0135353b7d Fixed invalid display strategy of search reset button 2020-11-15 15:55:21 +01:00
squidfunk
86a4c47c0a Switched to Jinja's safer string concatenation operator 2020-11-08 11:13:02 +01:00
squidfunk
acc4a273c4 Simplified conditionals in templates 2020-11-07 16:09:06 +01:00
squidfunk
7c1ffcee95 Fixed distribution files after bad merge 2020-11-03 17:57:37 +01:00
squidfunk
24bcf9de53 Removed unnecessary URL filter 2020-10-18 11:56:29 +02:00
squidfunk
48b4120b8f Fixed relative homepage links for nested pages when building locally 2020-10-18 11:52:29 +02:00
squidfunk
454339bd35 Fixed site_url (link behind home button) for usage from file:// 2020-10-04 18:37:52 +02:00
squidfunk
e149006af9 Escaped link titles where necessary 2020-10-04 14:24:43 +02:00
squidfunk
52787c6a9c Removed unnecessary title attributes in links 2020-10-04 14:18:10 +02:00
squidfunk
6248412844 Added Georgian translations 2020-10-04 13:29:24 +02:00
squidfunk
8f61fd3b56 Funding goal reached: merged back new search UI/UX from Insiders 2020-09-27 09:40:05 +02:00
squidfunk
e6ceb89d70 Removed deprecated meta data features 2020-09-27 08:54:36 +02:00
squidfunk
1037d591be Fixed Disqus integration, as the minifier killed the config 2020-08-28 19:41:49 +02:00
squidfunk
96f58edae6 Improved Disqus integration to be non-blocking 2020-08-28 18:26:55 +02:00
squidfunk
355a1cacd5 Fixed #1887: Moved icons in navigation to CSS to reduce size of large projects 2020-08-28 18:20:23 +02:00
squidfunk
4488256885 Added Esperanto translations 2020-08-26 20:15:26 +02:00
squidfunk
cdb426d54e Fixed tabs not showing external links 2020-08-26 20:06:47 +02:00
squidfunk
4e8fa6e201 Fixed erroneous comma in template 2020-08-16 14:42:34 +02:00
squidfunk
71bc294b67 Fixed theme colors for Android meta tag 2020-08-16 14:41:19 +02:00
squidfunk
b0bb26ec99 Fixed Google Analytics not tracking URLs with instant loading 2020-07-24 10:54:48 +02:00
squidfunk
6d6811451b Fixed race condition in instant loading 2020-07-24 10:47:26 +02:00
squidfunk
4e72d31043 Fixed Google Analytics not tracking URLs with instant loading 2020-07-24 10:40:15 +02:00
squidfunk
dd40970865 Fixed Google Analytics not tracking URLs with instant loading 2020-07-24 10:20:40 +02:00
squidfunk
66c939265f Added source links to docs 2020-07-16 23:05:57 +02:00
squidfunk
71e9b1d745 Improved getting started guide and added further guides 2020-07-16 22:31:39 +02:00
squidfunk
3f4e56157c Added Bengali (Bangla) translations 2020-06-24 08:20:07 +02:00
squidfunk
e6e7536356 Improved search experience in many languages 2020-06-21 13:22:48 +02:00
squidfunk
36e1e3db8b Fixed search in German, French and other languages 2020-06-07 13:56:45 +02:00
squidfunk
1df750a9fe Removed preconnect hint for Google Analytics 2020-06-07 12:08:12 +02:00
squidfunk
98ccd6f944 Merge branch 'master' into refactor/dark-mode 2020-05-09 15:13:57 +02:00
squidfunk
481e511a32 Added Burmese translations 2020-05-09 13:14:13 +02:00
squidfunk
de74821140 Fixed fallback translation in case of empty string 2020-05-09 13:13:50 +02:00
squidfunk
db7c28b20e Added name attribute to social links and improved defaults 2020-05-03 14:14:59 +02:00
squidfunk
671ec72407 Fixed German translations 2020-04-27 09:16:37 +02:00
squidfunk
0145f6d278 Added note when search is initializing 2020-04-26 18:29:13 +02:00
squidfunk
1ebef6565f Merge branch 'master' into refactor/dark-mode 2020-04-25 18:11:20 +02:00
squidfunk
524aeb6d88 Ensure source maps are built for stylesheets 2020-04-10 12:26:44 +02:00
squidfunk
184dfea055 Fixed syntax error in Spanish translation 2020-04-07 21:25:03 +02:00
squidfunk
6aef0288b7 Fixed casing in footer 2020-04-04 17:43:56 +02:00
squidfunk
c9b2c1eaab Moved logo to partials 2020-03-26 15:38:50 +01:00
squidfunk
c7e294c9fa Merge branch 'master' into refactor/rxjs-typescript 2020-03-26 15:28:55 +01:00
squidfunk
17fae53f31 Fixed header ellipsis when title equals site name 2020-03-25 17:13:48 +01:00
visig
b85b682b8b
Updated zh-TW translations (#1543) 2020-03-25 14:35:27 +01:00