aboutsummaryrefslogtreecommitdiff
path: root/site/_includes
AgeCommit message (Collapse)AuthorFilesLines
2019-03-13Switch to Hugo.XhmikosR29-390/+0
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-02-27Remove the now unneeded `shrink-to-fit` directive. (#28314)XhmikosR1-1/+1
2019-02-27put secondary navigation in an explicit landmark `nav` and add a label on ↵Laussel Loïc1-1/+1
each nav (#28361)
2019-02-20Remove `focusable="false"` from SVGs.XhmikosR11-11/+11
2019-02-20Remove Internet Explorer leftovers.XhmikosR1-1/+0
2019-02-20fix(docs): remove jQuery from our docsJohann-S1-3/+0
2019-02-19Remove incorrect aria-haspopup from dropdown toggles (#28299)Patrick H. Lauke1-1/+1
`aria-haspopup` use requires the use of an ARIA `menu`, `listbox`, `tree`, `grid` or `dialog` (see https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup) in our use (as generic disclosure widgets), it's incorrect and sets up the wrong assumption/behavior from assistive technologies. in future, we likely want to change our dropdowns to essentially be like a `dialog` - move focus to it when opened, possibly make it modal so focus is maintained inside it and the rest of the page is hidden/inert. but for now, removing the incorrect attribute is probably the quickest, most immediate fix.
2019-02-13Update docs and meta for 3.4.1. (#28255)XhmikosR1-1/+1
2019-02-11Release v4.3.0 (#28228)v4.3.0Mark Otto1-2/+2
* Prep for v4.3.0 * More updates for v4.3.0. * rerun to build docs source map
2019-02-09placeholder.svg: Partially revert the changes from c0e42cb. (#28216)XhmikosR1-1/+1
It broke the example include.
2019-02-08Reword footer text.XhmikosR1-1/+1
2019-02-08Use the `site.repo` variable.XhmikosR1-2/+2
2019-02-08Change footer link to point to the docs team pageXhmikosR1-1/+1
2019-02-07Optimize and normalize SVGs. (#28200)XhmikosR11-13/+13
Mostly be consistent with the attributes' order and improve compression when possible.
2019-01-29analytics.html: use double quotes in src attribute.XhmikosR1-1/+1
2019-01-21Add canonical URL. (#28093)XhmikosR1-0/+2
2019-01-07docs: use the `twitter` Jekyll variable everywhere (#27990)文翼1-1/+1
2018-12-23Add Open Collective to header (#27916)Martijn Cuppens2-0/+6
2018-12-22bootstrap-stack.svg: remove unneeded space.XhmikosR1-1/+1
2018-12-22Add two new meta tags for Algolia (#27902)XhmikosR1-0/+3
2018-12-21Update docs-navbar.htmlXhmikosR1-1/+1
2018-12-21Prep for v4.2.0 releaseMark Otto1-1/+2
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-12-16Revert "Remove now unnecessary shrink-to-fit viewport directive (#27818)" ↵XhmikosR1-1/+1
(#27855) This reverts commit af484dc12c2302c0e594a0e73a2ba06738a84410.
2018-12-15Link to v3.4 docs (#27842)XhmikosR1-0/+1
2018-12-15Remove now unnecessary shrink-to-fit viewport directive (#27818)Patrick H. Lauke1-1/+1
`shrink-to-fit=no` is not needed anymore - Apple removed the need for it from iOS9.3 onwards See https://www.scottohara.me/blog/2018/12/11/shrink-to-fit.html and https://github.com/h5bp/html5-boilerplate/issues/2102
2018-12-13SVG accessibility fixes (#27826)Patrick H. Lauke11-18/+12
* SVG accessibility fixes - add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle - completely hide decorative SVGs using `aria-hidden="true"` - add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label` - simplify placeholder default title * Simplify usage of placeholder.svg in the docs - in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly) - no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class) * Simplify example.html rewriting of <svg> to <img> code sample - as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the placeholder.svg itself * Change svgo configuration to retain role attribute and add/force focusable=false - regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
2018-11-28Remove `no_toc_section`.XhmikosR1-1/+1
2018-11-28Revert "Use `h5` for callouts so that they are not included in ToC."XhmikosR1-1/+1
This reverts commit 11da1601140174e4fa4e0e25e7f66fc21c08e927. This is no longer needed with jekyll-toc 0.9.1.
2018-11-27Use `h5` for callouts so that they are not included in ToC.XhmikosR1-1/+1
Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included. We should revisit this if the bug is fixed later.
2018-11-27Inline bootstrap-stack.svg.XhmikosR1-0/+1
It's pretty small compressed; a little less than 1 KB with gzip.
2018-11-23Revert "Replace anchor.js with jekyll-anchor-headings."XhmikosR2-86/+1
This reverts commit b04f97f60be64549a37e0c71d676ab67e70891fa.
2018-11-21Placeholders: use our gray colors (#27701)m5o1-4/+4
Previously we were using the old holder.js colors.
2018-11-21docs: fix path to assets. (#27696)XhmikosR1-1/+1
2018-11-20docs-sidebar.html: remove commented out code.XhmikosR1-14/+0
Leftover from old times.
2018-11-20Reindent.XhmikosR3-15/+17
2018-11-20Remove holder.js.XhmikosR1-1/+0
2018-11-20Fix placeholder image replacement.m5o1-5/+22
2018-11-20Tweak placeholder.svg.XhmikosR1-29/+28
* always include the title * make it possible to skip adding the title by passing `title=' '` * remove viewBox since we don't need it
2018-11-20Replace holder.js with SVGs.Martijn Cuppens1-0/+36
2018-11-20Replace anchor.js with jekyll-anchor-headings.XhmikosR2-1/+86
This allows us to generate the anchor links on build time. https://github.com/allejo/jekyll-anchor-headings
2018-11-11Replace `data-src` with `src="..."` in docs. (#27649)XhmikosR1-1/+16
2018-11-09Add an examples layout.XhmikosR1-2/+6
Reduces duplication and makes maintenance easier.
2018-11-09Move analytics to an include file.XhmikosR2-9/+7
2018-11-09Move stylesheets to an include.XhmikosR2-12/+13
2018-11-03Add Sass variable for prefers-reduced-motion, add callout to affected ↵Patrick H. Lauke1-0/+4
components (#27581) * Tweak the accessibility/reduced motion text include mention of carousel slides, remove the (now inaccurate, as Firefox 63 includes it too) mention that support is limited to Safari/macOS xref https://github.com/twbs/bootstrap/issues/27525 * Add new callout for reduced motion * Add variable to control prefers-reduced-motion media query support * Add callout about prefers-reduced-motion to all components currently using animation which are affected
2018-10-22Further ToC fixes.XhmikosR1-1/+1
2018-10-20Make use of jekyll-toc's `no_toc_section` class.XhmikosR2-2/+2
Requires jekyll-toc v0.8.0.
2018-10-20Remove service workerMark Otto1-1/+0
2018-10-20swipe left/right without hammerjsJohann-S1-1/+0
2018-10-20Add touch support in our carousel with HammerJS.Johann-S1-0/+1