aboutsummaryrefslogtreecommitdiff
path: root/site/layouts/partials
AgeCommit message (Collapse)AuthorFilesLines
2024-08-05Docs: add `aria-hidden="true"` to decorative SVGs (#40691)Julien Déramond1-2/+2
2024-08-02Docs: add `aria-hidden="true"` to decorative SVGs (#40686)Julien Déramond11-20/+20
2024-07-30Update masthead wording (#40672)XhmikosR1-4/+1
2024-04-01docs: move examples inline shortcode to a partial (#39829)XhmikosR1-0/+63
* docs: move examples inline shortcode to a partial * Further tweaks
2024-04-01docs: add a new partial for responsive images and use `imageConfig` (#39779)XhmikosR5-15/+52
This way the dimensions are not hardcoded
2024-03-22docs: use `urls.JoinPath` in more places (#39778)XhmikosR1-1/+2
2024-03-20Move theme toggler to a partial (#39807)XhmikosR2-33/+35
--------- Co-authored-by: Julien Déramond <[email protected]>
2024-03-20masthead.html: add `rel="noopener" target="_blank"` (#39805)XhmikosR1-1/+1
2024-03-19docs: move examples icons to a partial (#39808)XhmikosR1-0/+15
2024-03-19docs: move algolia config to hugo configXhmikosR2-1/+7
2024-03-19docs: use defer when possible for JSXhmikosR1-5/+5
2024-03-19docs: move search style to its own CSS fileJulien Déramond1-4/+8
2024-03-19docs: bundle assets with HugoXhmikosR3-67/+28
Also: * load any docs' third-party dependencies from node_modules (except for examples) * exclude docsearch from layouts that don't use it * preconnect to algolia only when not examples layout * switch to `RelPermalink` * refactor JS assets into partials
2024-03-15Update masthead to HeroDevs EOL (#39749)Edward Ezekiel2-3/+11
* feat(masthead): Update masthead to HeroDevs EOL Add box-arrow-up-right icon. * Update masthead.html * Update icons.html --------- Co-authored-by: Mark Otto <[email protected]>
2024-03-13docs: move fathom site to hugo config (#39781)XhmikosR1-1/+1
2024-03-11Docs: drop `data-bs-scroll="true"` from navbar (#39766)Julien Déramond1-1/+1
2024-03-08Switch to using `hugo.IsProduction` (#39763)XhmikosR2-4/+4
2024-03-07footer: remove unneeded trailing slash (#39757)XhmikosR1-1/+1
2024-03-06templates: use `urls.JoinPath` when handling URLsXhmikosR5-7/+8
2024-03-06docs: use a responsive image for bootstrap-logo-shadow.png (#39745)XhmikosR1-1/+7
2024-03-06Improve front matter "added" paramsXhmikosR1-3/+3
Add missing ones and add the ability to show or hide the badge Fixes a few more 404 errors in the version picker
2024-03-06docs: fix missing trailing slashes causing redirectsXhmikosR2-2/+2
2024-03-05Remove useless crossorigin="anonymous" attributesXhmikosR2-3/+3
2024-03-05header.html: remove unneeded `relUrl`XhmikosR1-1/+1
2024-03-05Minor template cleanupXhmikosR2-3/+2
2024-03-05Fix docs-versions.html (#39738)XhmikosR1-3/+7
Cast to string when comparing the versions, otherwise we were comparing numbers with strings. Also, move checks to variables. Fixes 404 errors in the version picker.
2024-03-04docs: remove Google Analytics (#39725)XhmikosR3-14/+6
It no longer works
2023-12-30Docs: update homepage links to prevent HTTP redirect (#39539)Christian Oliff1-3/+3
2023-12-21Docs: drop unused `.theme-icon` class (#39520)Julien Déramond1-3/+3
2023-07-23Docs: remove v4 reference in homepageJulien Déramond1-2/+0
2023-07-16Docs: add blank target and noopener rel to footer external linksJulien Déramond1-11/+11
2023-07-05Add docs search to homepage (#38850)Mewen Le Hô4-9/+4
* Compliance to Success Criterion 3.2.3 Consistent Navigation * Update docs-navbar.html --------- Co-authored-by: Mark Otto <[email protected]>
2023-05-31Docs: add more details on accessibility tips (#38583)Hannah Issermann1-1/+1
* Docs: add more details on accessibility tips * Docs: add more details on accessibility tips * Docs: add more details on accessibility tips * Fix syntax --------- Co-authored-by: Julien Déramond <[email protected]>
2023-05-31Use `.d-none` instead of inline stylingJulien Déramond1-1/+1
2023-04-01docs: add variables-dark import in home pageTien Do1-0/+1
2023-03-27Add detailed explanation of the JS components configuration merging process ↵GeoSot1-0/+2
(#37303) * doc: add detailed explanation of the components config process & fix popover/tooltip docs * Update site/layouts/partials/js-data-attributes.md --------- Co-authored-by: Mark Otto <[email protected]>
2023-02-25Docs: fix code indentation in homepage JavaScript plugins section (#38112)Julien Déramond1-8/+8
2023-02-23Docs: drop unused icons (#38103)Julien Déramond1-3/+0
2023-02-14Remove unused partials and add some way to automatically detect it (#38004)Julien Déramond9-21/+0
* Add docs-check-unused-templates in npm commands and workflow * Remove unused partials icons templates
2023-01-21Docs: tweak icon link and callouts (#37923)Patrick H. Lauke1-1/+1
* Tweak callout for icon link - no need to talk about `alt` for `<img>` since these don't use `<img>` - make start of sentence more readable * Tweak language of dropdown warning callout * Tweak popover warning callout * Tweak rtl warning callouts * Tweak color warning callout * Add/move accessibility callout for color to relevant pages * Update site/content/docs/5.3/helpers/icon-link.md * Update site/layouts/partials/callouts/warning-color-assistive-technologies.md Co-authored-by: Mark Otto <[email protected]>
2023-01-16Small color mode docs CSS fixes (#37896)Mark Otto1-1/+1
* SImplify background gradient syntax * Move inline style to CSS file
2023-01-16Deprecate the Sass var and remove any occurence of the `.text-muted` (#37890)Louis-Maxime Piton4-9/+9
2023-01-04Docs: replace `twbs/bootstrap-npm-starter` by ↵Julien Déramond3-3/+3
`twbs/examples/tree/main/icons-font` (#37671) * Docs: replace twbs/bootstrap-npm-starter by twbs/examples/tree/main/icons-font * Revamp starter template to use new .icon-link, fix Bootstrap icon and text at top * Remove extra CSS file * Change links to twbs/examples * Fix icon name * Adjust icon link offset to more reasonable and scaling distance Co-authored-by: Mark Otto <[email protected]>
2023-01-03Add new link utilities, icon link helper, and update colored link helpers ↵Mark Otto8-16/+19
(#37762) * Add new link utilities, update colored link helpers * Remove commented out code * Fixes * Remove examples changes * Fixes and copy * Fix icon-link instances on homepage * Bump bundlewatch * Fix node-sass issue for rgba() function bug * More bundlewatch * One more time after merge * Add callout for a11y * Hover and focus-visible * Add a11y callouts * Remove duplicate for now * More code review feedback
2023-01-03Rewrite some callouts to remove most headings and reduce their contentMark Otto4-12/+4
2023-01-01Docs: Make theme switcher accessible (#37780)Patrick H. Lauke1-6/+7
* Make theme switcher accessible * set an explicit `aria-label` to the switcher (as the `<span>` is not sufficient, as it can be display:none'd and then the button has no accName) * make the theme buttons actual `aria-pressed` toggles * Dynamically update aria-label for theme switcher * Explicitly reset focus after activating theme * Use innerText for the constructed dynamic aria-label this way, if the text ever gets changed in the html, this will adapt appropriately * Tweak accessible name for the dropdown * Fixup * Use `textContent` instead of `innerText`
2022-12-26Drop logo on homepage on mobileJulien Déramond1-1/+1
2022-12-25docs: improve social image partial (#37717)XhmikosR1-8/+20
* Fix social image URL to be absolute * Deduplicate social.html * Get image dimensions with Hugo
2022-12-24Release v5.3.0-alpha1 (#37661)XhmikosR2-5/+12
* Bump version to 5.3.0-alpha1 * Dist * Add docs versions updates * Update note in homepage hero Co-authored-by: Mark Otto <[email protected]>
2022-12-18docs: move color-mode script (#37658)XhmikosR1-3/+3
* docs: move color-mode script * Move color-modes.js in static folder * Async load color-modes.js * Switch to DOMContentLoaded * Revert async loading