Commit Graph

137 Commits

Author SHA1 Message Date
squidfunk
b5ad4ac339 Reformatted HTML templates and moved L10N to inline JSON 2019-11-26 10:03:53 +01:00
squidfunk
4fc4876fc8 Optimized HTML structure 2019-11-22 17:53:12 +01:00
squidfunk
a633f4fec7 Migrated first features to RxJS 2019-09-29 00:30:56 +02:00
squidfunk
34cc56bf28 Fixed development environment 2019-09-28 20:39:07 +02:00
Timothy Pharo
422406bed3 Fixed issue where HTML tags were shown in page title (#1220)
* Strip tags from page tile when displaying in header <title> tag

* Build resources for stripping html tags from header <title>
2019-08-23 11:02:28 +02:00
Christian Oliff
ec9a9a62b0 Improved accessibility for IE users (#1222)
> The <main> element is widely supported. For Internet Explorer 11 and lower, it's suggested that an ARIA role of "main" be added to the <main> element to ensure it is accessible (screen readers like JAWS, used in combination with older versions of Internet Explorer, understand the semantic meaning of the <main> element when this role attribute is included).

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main#Browser_compatibility
2019-08-23 10:59:23 +02:00
squidfunk
91f2289587 Reverted template minification, added minification by plugin 2019-06-15 15:16:14 +02:00
Christian Oliff
6182414ae5 Improved Google Font display experience (#1134)
This fixes: #1133
This change prevents the font changing if the Google font loads within 100ms.
2019-06-14 09:26:51 +02:00
squidfunk
631846394e Prepare 4.3.0 release 2019-05-17 21:52:14 +02:00
squidfunk
b36a725d30 Removed all whitespace from compiled files - saving 700 bytes per page (gzip) 2019-05-17 21:37:21 +02:00
squidfunk
94d6f2c68b Added font-display: swap to Google Font loading 2019-05-17 18:57:11 +02:00
squidfunk
9a16b9c6ea Fixed Asian search after lunr-languages upgrade 2019-03-12 16:33:58 +01:00
squidfunk
5ec6ad2828 Moved Google Analytics block into head 2019-01-28 11:18:22 +01:00
squidfunk
cc47bb7464 Updated copyright year 2019-01-01 18:42:00 +01:00
squidfunk
59ce603ed8 Moved redirect code into main template 2018-12-28 15:09:11 +01:00
Christian Oliff
2712a85b38 Lowercased doctype to shave of 2 byte of gzipped response
* lowercase doctype in HTMLtemplate

This gzip compresses slightly better (can save 2 bytes!)

REF: https://encode.ru/threads/1889-gzthermal-pseudo-thermal-view-of-Gzip-Deflate-compression-efficiency

* lowercase doctype in src
2018-12-20 12:14:03 +01:00
squidfunk
226cb9f4d9 Added support for Progressive Web App Manifest 2018-11-13 22:24:17 +01:00
squidfunk
13a76c45d6 Fixed invalid skip-to-content link on 2nd+ level 2018-10-23 08:39:55 +02:00
squidfunk
611493de1f Updated distribution files after dependency upgrade 2018-09-03 09:42:39 +02:00
Richard Körber
7d20ae8561 Removed preconnect meta tag if Google Fonts are disabled 2018-09-03 09:32:48 +02:00
squidfunk
7f08e2849a Fixed #841: Additional path levels for extra CSS and JS 2018-08-07 11:10:19 +02:00
Waldinar Oliveira Neto
cc46c9e5fb Fixed lunr.js import scripts 2018-08-06 09:37:43 +02:00
squidfunk
fd75fa8eb7 Added Serbian and Serbo-Croatian translations 2018-08-04 20:35:14 +02:00
squidfunk
159575bbe9 Fixed path concatenation in templates 2018-08-04 20:22:49 +02:00
squidfunk
d7a32d0a84 Upgraded MkDocs to 1.0 2018-08-04 19:53:13 +02:00
squidfunk
602de62ae3 Added support for different spellings for theme color 2018-06-18 10:19:07 +02:00
squidfunk
f9298cf91f Added support for theme color on Android 2018-06-13 10:18:00 +02:00
Isaac Muse
a42fdb33ed Scope all internal HTML id tags to avoid name clashes
* Fix ids not being unique enough in templates

* Revert disqus id change
2018-06-10 14:45:16 +02:00
squidfunk
2fbeb28d9d Packaged Material icons with theme (GDPR) 2018-06-10 13:52:51 +02:00
squidfunk
3523c89610 Added temporary scripts for testing 2018-04-26 15:20:34 +02:00
squidfunk
bdecff9736 Added temporary scripts for testing 2018-04-26 15:14:25 +02:00
squidfunk
bdaf043039 Reset drawer and search upon back button invocation 2018-03-21 20:21:49 +01:00
squidfunk
6ecf71ee8d Fixed JavaScript error on home page if Disqus is enabled 2018-03-21 20:05:27 +01:00
squidfunk
36ec35c2e4 Added preconnect for Google Fonts for faster loading 2018-02-22 19:15:32 +01:00
squidfunk
b3e293ece9 Fixed duplicate slashes in source file URLs 2018-02-11 20:01:00 +01:00
squidfunk
e55a82b96c Added ability to override Disqus integration using metadata 2018-02-11 20:01:00 +01:00
squidfunk
3c8f12a41a Prepare 2.6.0 release 2018-02-02 00:28:32 +01:00
squidfunk
c002cc2881 Fixed search for languages without stemmers 2018-02-02 00:28:32 +01:00
squidfunk
9b717440cc Added Persian translations 2018-02-02 00:28:32 +01:00
squidfunk
4b5c45c656 Refactored search language handling 2018-01-21 23:02:04 +01:00
squidfunk
0e1850280a Added support for skip-to-content link 2018-01-18 21:33:22 +01:00
squidfunk
c3cdb945a6 Updated copyright notice 2018-01-13 17:36:13 +01:00
squidfunk
01c9aa5e11 Added support for right-to-left languages 2018-01-13 17:24:30 +01:00
Martin Donath
f033fd5437
Added support for hero text 2017-11-22 00:13:56 +01:00
Martin Donath
81e433bf2e
Refactored Gulp build pipeline with Webpack 2017-11-21 21:32:25 +01:00
Roberto Jimenez Sanchez
e472e2d0b1 Generate Edit button only if page.edit_url 2017-11-18 17:10:26 +01:00
squidfunk
1be9225eb1 Fixed flash of unstyled content 2017-11-01 18:25:42 +01:00
squidfunk
9b0bbe2e04 Fixed horizontal scrollbar between 1220px and 1234px 2017-11-01 18:11:58 +01:00
squidfunk
a0308b0dce Fixed meta source only rendering first character 2017-11-01 15:26:13 +01:00
squidfunk
f4dddaeeee Fixed favicon regression caused by deprecation upstream 2017-11-01 12:07:30 +01:00