Commit Graph

509 Commits

Author SHA1 Message Date
squidfunk
a27372eee3 Removed blocks in partials - Jinja doesn't support them 2019-02-09 18:02:46 +01:00
squidfunk
9d46c27a9e Removed Google Tag Manager and reverted to Google Analytics 2019-02-09 17:54:08 +01:00
squidfunk
a182314a15 Fixed too unspecific selector for table of contents blur on scroll 2019-01-29 10:56:27 +01:00
squidfunk
5ec6ad2828 Moved Google Analytics block into head 2019-01-28 11:18:22 +01:00
squidfunk
2f31618d60 Use asynchronous Google Analytics tracking 2019-01-28 11:13:26 +01:00
squidfunk
ee0371d026 Fixed Unicode slugifier breaking table of contents blur on scroll 2019-01-28 09:48:05 +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
squidfunk
afd2787fea Merge branch 'master' of git://github.com/kcgthb/mkdocs-material into kcgthb-master 2018-12-28 15:01:21 +01:00
squidfunk
635f74686d Formatting 2018-12-28 14:59:45 +01:00
Christian Oliff
f9b4a63ebc Added support for Google Analytics async snippet loading (#921)
Snippet from Google: https://developers.google.com/analytics/devguides/collection/analyticsjs/#alternative_async_tracking_snippet

Recommended by HTML5Boilerplate:
https://github.com/h5bp/html5-boilerplate/blob/master/dist/index.html
2018-12-28 14:46:24 +01:00
Martin Donath
4e72119d20
Upgraded to webpack 4 (#941)
* Upgrade to webpack 4 - partly working

* Upgraded to webpack 4

* Fixed error with webpack ProvidePlugin

* Fixed ESLint errors
2018-12-28 14:44:41 +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
Kilian Cavalotti
05673a2de6 redirect: add metatag to prevent robot indexing 2018-12-04 08:38:28 -08:00
Kilian Cavalotti
6d713cb8f5 redirect: add support to redirect anchors
eg. if url.md contains: "redirect: newurl/"
       //domain.tld/url#foo redirects to //domain.tld/newurl#foo
2018-11-26 15:22:35 -08:00
squidfunk
226cb9f4d9 Added support for Progressive Web App Manifest 2018-11-13 22:24:17 +01:00
squidfunk
fe42b2f7e1 Prepare 3.0.6 release 2018-10-26 13:15:41 +02:00
squidfunk
61dcde1dda Fixed JavaScript code block evaluation in search results 2018-10-26 12:55:36 +02:00
squidfunk
d72e46b65d Removed unnecessary overrides of search tokenizer 2018-10-23 08:58:03 +02:00
squidfunk
793263f40f Added Indonesian translations 2018-10-23 08:56:37 +02:00
squidfunk
330229fdbc Added Croatian translations 2018-10-23 08:47:09 +02:00
squidfunk
13a76c45d6 Fixed invalid skip-to-content link on 2nd+ level 2018-10-23 08:39:55 +02:00
squidfunk
15e604f797 Fixed missing URL filter in footer for FontAwesome link 2018-10-23 08:35:56 +02:00
Kilian Cavalotti
dcf6c34284 redirect: use document.location.replace instead of location.href to
avoid storing old URL in browser history
2018-10-18 08:38:41 -07:00
Kilian Cavalotti
0c17ca3a52 add support for redirects via metadata extension 2018-10-17 14:53:48 -07:00
squidfunk
611493de1f Updated distribution files after dependency upgrade 2018-09-03 09:42:39 +02:00
Ronald Ligteringen
b04972ebbe Updated Dutch translations
The correct translation for Table of Contents in Dutch is 'Inhoudsopgave'
2018-09-03 09:33:15 +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
Waldinar Oliveira Neto
679aa64310 Fixed broken search result links 2018-08-05 21:41:19 +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
4bc97f1f36 Fixed build error after MkDocs upgrade 2018-07-29 16:55:17 +02:00
squidfunk
7f3c72bff2 Added link to home for logo in mobile navigation 2018-07-29 16:19:04 +02:00
squidfunk
65cefb835a Added Hindi and Czech translations 2018-06-29 11:14:23 +02:00
squidfunk
602de62ae3 Added support for different spellings for theme color 2018-06-18 10:19:07 +02:00
squidfunk
4d7f77e88b Formatting and documentation 2018-06-18 10:14:10 +02:00
Isaac Muse
31e561201e Added ".highlighttable" as an alias for ".codehilitetable" (#800)
When codehilite is disabled, or if pymdownx.highlight is used instead of codehilite, the default class "highlight" is used instead of "codehilite".  This also applies to the number table format that, and will use "highlighttable" instead of "codehilitetable".
2018-06-18 10:11:11 +02:00
squidfunk
f9298cf91f Added support for theme color on Android 2018-06-13 10:18:00 +02:00
squidfunk
87f9a3a25b Fixed rendering of nested tabbed code blocks 2018-06-13 09:51:04 +02:00
squidfunk
05e4d17cbf Added support for code tabs 2018-06-10 18:11:36 +02:00
Ed Morley
ca773de86c Fixed: Changed links to mkdocs.org to HTTPS
To prevent the unnecessary HTTP 301 (and reduce the redirects noise
when running the W3C link checker tool against generated pages).

Also fixes the anchor fragment for `#using-the-theme-custom_dir`.
2018-06-10 15:30:26 +02:00
squidfunk
c90c57d2b4 Fixed missing material icons 2018-06-10 15:21:49 +02:00
squidfunk
2163f58447 Bundled Material icons with theme 2018-06-10 14:52:46 +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
416fd474b4 Added Slovak translations 2018-06-02 15:23:48 +02:00
squidfunk
3523c89610 Added temporary scripts for testing 2018-04-26 15:20:34 +02:00