Commit Graph

374 Commits

Author SHA1 Message Date
squidfunk
47659c24d7 Renamed home component to logo 2021-03-07 19:39:03 +01:00
squidfunk
859173ef88 Fixed logo URL not being updated when using instant loading 2021-03-07 19:36:51 +01:00
squidfunk
5037094b12 Fixed problems with mike when logo points to site_url 2021-03-07 19:23:24 +01:00
squidfunk
99aa411d6b Documentation 2021-03-05 10:36:46 +01:00
Martin Donath
1e9746b841
Merge pull request #2362 from seandstewart/add-extracopy-footer
Add `extracopyright` block to footer.html
2021-03-04 18:40:24 +01:00
squidfunk
f87e32debe Added Islandic translations 2021-03-04 18:05:37 +01:00
Sean Stewart
63015faf52 Add extracopyright block to footer.html 2021-03-01 08:00:20 -05:00
squidfunk
dd3a4788cb Formatting 2021-02-25 17:51:38 +01:00
squidfunk
7d5a463c60 Formatting 2021-02-25 17:29:11 +01:00
squidfunk
d6317dc514 Formatting + moved search index fetching to top level 2021-02-24 18:02:09 +01:00
squidfunk
0b2e14056a Renamed internal icon reference for language selector 2021-02-23 10:34:01 +01:00
squidfunk
20f7440280 Prepare 7.0.0 release 2021-02-22 23:05:09 +01:00
squidfunk
99cc2e201b Added support for language selector 2021-02-22 20:08:49 +01:00
squidfunk
5dc7a79e07 Added Sinhalese translations and fixed linter errors 2021-02-14 17:36:39 +01:00
squidfunk
08e8525689 Updated copyright year 2021-02-14 16:54:27 +01:00
squidfunk
a8b5cafa73 Deprecated DOMContentSwitch event 2021-02-13 17:20:55 +01:00
squidfunk
2c23f066ea Merge branch 'master' into refactor/architecture 2021-02-12 13:22:32 +01:00
squidfunk
ae867d484b Squashed commit of the following:
commit 9b5b80380fc81f5a68828e22754f0e7d53b0dea0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 16:25:06 2021 +0100

    Refactored more stuff

commit 5a2108254f1222db7de08690e13c24e972ea19c0
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 13:48:16 2021 +0100

    Refactored more stuff

commit b3a112f4bddefebcf9dbd1d0ffe240d86fc9aa08
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Feb 7 12:02:42 2021 +0100

    Refactored more stuff

commit bff323b6b81571021c0ac9be6f637de7728447a5
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 18:14:52 2021 +0100

    Refactored search result list

commit 27b7e7e2da3b725797ad769e4411260ffd35b9f8
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Feb 6 17:12:36 2021 +0100

    Refactored more components

commit 3747e5ba6d084ed513a2659f48f161449b760076
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 18:56:26 2021 +0100

    Implemented new architecture for several components

commit ea2851ab0f27113b080c2539a94a88dc0332be84
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 14:53:42 2021 +0100

    Removed unnecessary height declaration for sidebars

commit 3c3f83ab4ef392dbabf1a11afba2556e529b1674
Merge: 91d239d8 13024179
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sun Jan 24 13:04:49 2021 +0100

    Merge branch 'master' into refactor/observable-architecture

commit 91d239d86649b9571b376011669bc73a7865b186
Author: squidfunk <martin.donath@squidfunk.com>
Date:   Sat Jan 9 13:11:04 2021 +0100

    Started refactoring observable architecture
2021-02-07 16:28:16 +01:00
fugaco
2ba9533c25
Updated Japanese translations (#2268)
Co-authored-by: fugaco <--global>
2021-02-04 11:39:45 +01:00
Jakub
2251be4f68
Update Polish translations (#2262) 2021-02-01 10:00:38 +01:00
squidfunk
ee4efb4f5b Added Bulgarian translations 2021-01-26 09:49:46 +01:00
squidfunk
9ca69ed274 Updated Insiders documentation 2021-01-25 09:54:19 +01:00
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
Javier
ccbe8db6ee
Updated Spanish translations (#2132)
The word "Falta" is more appropriate.
2020-12-16 09:36:59 +01:00
squidfunk
7e78c4d8b7 Added distribution files 2020-12-15 09:02:26 +01:00
Martin B
bf9920b42b
Updated Swedish translations (#2127)
* Update sv.html

* Update sv.html
2020-12-15 09:01:04 +01:00
Javier
9c0351b008
Updated Spanish translations (#2126)
* Update es.html

Added missing translations in spanish language

* Update es.html
2020-12-15 08:59:51 +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
Writeup
81944ae1a1
Added Chinese translations for initializing search (#2026)
* Update zh.html

* Update zh-Hant.html

* Update zh-TW.html
2020-11-02 18:03:33 +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
ae3a372805 Documentation 2020-10-04 18:54:48 +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
69d0789b44 Documentation 2020-10-04 13:30:08 +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
iBug ♦
7b24345090
Fixed Chinese translations (#1580) 2020-04-08 20:12:50 +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
9e74bb7a32 Cleaned up search worker integration 2020-03-27 15:29:17 +01: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
squidfunk
e793da18d9 Fixed header 2020-03-23 10:52:00 +01:00
squidfunk
96dc478970 Added lighter theme notice in footer 2020-03-23 10:50:03 +01:00
squidfunk
d56ab36000 Prototyped options menu 2020-03-23 10:45:06 +01:00
squidfunk
035225d6d3 Removed required attribute on search input 2020-03-21 17:13:38 +01:00
Jaime Iniesta
7657c4b82c
Added back aria-label to search input (#1517)
* update development guides on how to launch the local servers

* brings back aria-label to search form as form elements must have labels
2020-03-19 11:42:06 +01:00
squidfunk
4ffa866609 Formatting 2020-03-18 17:28:26 +01:00
Jaime Iniesta
e7f7632278
Added aria-label to all nav items to improve accessibility. (#1516)
This ensures navigation landmarks are unique.

Related:

https://dequeuniversity.com/rules/axe/3.5/landmark-unique?application=rocketvalidator
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role
https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html
2020-03-18 17:19:04 +01:00
squidfunk
fcbd47c2cb Fixed error when only setting a single icon 2020-03-11 11:24:40 +01:00
squidfunk
bfea33154f Added title to social footer links 2020-03-09 21:14:47 +01:00
Benjamin Staneck
d3ed86e4a7
Added aria-label to search reset button (#1489) 2020-03-06 16:52:48 +01:00
Benjamin Staneck
2c56acbf14
Added preconnect + dns-prefetch for Google Analytics (#1487)
According to Lighthouse this will save 260ms
2020-03-06 16:49:13 +01:00
squidfunk
7840e207f9 Removed IE compatibility meta tag 2020-03-06 15:50:11 +01:00
squidfunk
584eac86ee Fixed direction=None in base.html 2020-03-06 10:28:54 +01:00
squidfunk
081d540127 Added missing skip-to-content link titles 2020-03-05 17:36:01 +01:00
squidfunk
3b9225c6a1 Refactored configuration format 2020-03-05 16:43:29 +01:00
squidfunk
d9d47040c7 Added missing skip-to-content link titles 2020-03-05 14:24:14 +01:00
squidfunk
85c498951f Fixed icon logo in navigation 2020-03-05 11:35:35 +01:00
squidfunk
ef3dc7fdc4 Refactored search configuration via localization 2020-03-05 11:35:19 +01:00
squidfunk
bef1ac4923 Moved source link and date to partials 2020-03-05 10:13:28 +01:00
squidfunk
3242ca974e Refactored template localization 2020-03-04 22:06:05 +01:00
squidfunk
dbb5b2e8c3 Refactored search pipeline configuration 2020-03-04 21:42:19 +01:00
squidfunk
067df2f6cf Improved anchor jumps after instant loading and fixed Google Analytics 2020-02-29 20:57:11 +01:00