aboutsummaryrefslogtreecommitdiff
path: root/site/layouts
AgeCommit message (Collapse)AuthorFilesLines
2021-09-15docs: backport layouts updates from the main branchXhmikosR9-30/+34
2021-09-15docs-navbar: use the config variable and update to 5.1XhmikosR1-2/+2
2021-07-21Update Hugo config and sitemap.xml (#34074)XhmikosR1-3/+5
2021-04-15Remove aria-haspopup from dropdowns (#33624)Patrick H. Lauke1-1/+1
`aria-haspopup="true"` is really intended to signal that an ARIA `menu` will be opened on activation. as a result, some assistive technologies will announce controls with `aria-haspopup="true"` as a menu or menu item (e.g. JAWS and NVDA). In addition, `aria-haspopup` seems to trigger a bug in Edge/Narrator where the `aria-expanded` state is not correctly announced at the moment when `aria-haspopup` is present. This now makes the dropdown button more like a generic disclosure widget control - see also https://www.w3.org/TR/wai-aria-practices-1.2/examples/disclosure/disclosure-navigation.html01
2021-02-17Add a callout for the sanitizer in popovers and tooltips (#32272)Patrick H. Lauke1-0/+1
* Add a callout for the sanitizer in popovers and tooltips * Add second reference to sanitizer in the options Co-authored-by: XhmikosR <[email protected]>
2021-02-15Simplify bugify.html (#33063)XhmikosR1-8/+4
* use `in` instead of `strings.Contains` since the latter is not documented * use `cond`
2021-01-19Release v4.6.0. (#32726)v4.6.0XhmikosR1-1/+1
* Bump version to v4.6.0. * Dist
2021-01-15Backport #32795 (#32809)Mark Otto1-0/+1
* Clarify Sass import and customize docs for how to modify variable defaults * Add an npm starter project callout to a few pages
2021-01-08docs: add v5.0 in versions (#32728)XhmikosR1-0/+2
2020-11-24Backport #32224XhmikosR1-2/+2
Be consistent with Popper's name.
2020-11-24examples: add the version number in `title` (#32198)XhmikosR1-1/+1
2020-11-19Switch to HugoXhmikosR45-0/+719
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.