@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/README.md +43 -0
- package/assets/js/auto-complete.min.js +1 -0
- package/assets/js/loglevel-plugin-remote.min.js +1 -0
- package/assets/js/loglevel.min.js +2 -0
- package/assets/js/lunr.min.js +7 -0
- package/assets/js/scroll-to-top.js +33 -0
- package/assets/js/search.min.js +1 -0
- package/assets/js/tdcafLogger.min.js +1 -0
- package/assets/js/theme-toggle.js +48 -0
- package/assets/js/was-this-page-helpful.js +15 -0
- package/assets/styles/_article.scss +110 -0
- package/assets/styles/_autocomplete.scss +63 -0
- package/assets/styles/_cards.scss +25 -0
- package/assets/styles/_codefences-dark.scss +16 -0
- package/assets/styles/_codefences.scss +243 -0
- package/assets/styles/_col-sidebar.scss +3 -0
- package/assets/styles/_font-open-sans.scss +69 -0
- package/assets/styles/_footer.scss +4 -0
- package/assets/styles/_javascript-disabled.scss +21 -0
- package/assets/styles/_list-js.scss +27 -0
- package/assets/styles/_menu-right.scss +55 -0
- package/assets/styles/_mobile.scss +52 -0
- package/assets/styles/_navbar-search.scss +53 -0
- package/assets/styles/_navbar.scss +5 -0
- package/assets/styles/_news.scss +6 -0
- package/assets/styles/_onetrust-cookie-banner.scss +166 -0
- package/assets/styles/_posts.scss +17 -0
- package/assets/styles/_print.scss +5 -0
- package/assets/styles/_scroll-to-top-btn.scss +17 -0
- package/assets/styles/_sidebar.scss +65 -0
- package/assets/styles/_skippy.scss +15 -0
- package/assets/styles/_tables.scss +5 -0
- package/assets/styles/_theme-dark.scss +10 -0
- package/assets/styles/_theme-light.scss +5 -0
- package/assets/styles/_theme-toggle.scss +83 -0
- package/assets/styles/_utilities.scss +9 -0
- package/assets/styles/_was-this-page-helpful.scss +28 -0
- package/assets/styles/_xxl.scss +18 -0
- package/assets/styles/styles.scss +66 -0
- package/data/menu.yml +19 -0
- package/data/navbar_apps.yml +15 -0
- package/layouts/_default/_markup/render-heading.html +23 -0
- package/layouts/_default/_markup/render-image.html +4 -0
- package/layouts/_default/_markup/render-link.html +4 -0
- package/layouts/_default/baseof.html +65 -0
- package/layouts/_default/home.html +31 -0
- package/layouts/_default/list.html +41 -0
- package/layouts/_default/redirect.html +19 -0
- package/layouts/_default/single.html +113 -0
- package/layouts/index.json +18 -0
- package/layouts/index.rss.xml +49 -0
- package/layouts/partials/analytics.html +9 -0
- package/layouts/partials/blog-brief.html +34 -0
- package/layouts/partials/blog-share.html +58 -0
- package/layouts/partials/btn-theme-toggle.html +20 -0
- package/layouts/partials/card-component.html +29 -0
- package/layouts/partials/col-sidebar-menu.html +74 -0
- package/layouts/partials/col-sidebar.html +25 -0
- package/layouts/partials/custom-footer.html +1 -0
- package/layouts/partials/custom-header.html +1 -0
- package/layouts/partials/footer.html +13 -0
- package/layouts/partials/header.html +14 -0
- package/layouts/partials/icons/brands/codepen.svg +2 -0
- package/layouts/partials/icons/brands/facebook-square.svg +2 -0
- package/layouts/partials/icons/brands/github-alt.svg +1 -0
- package/layouts/partials/icons/brands/github.svg +2 -0
- package/layouts/partials/icons/brands/linkedin.svg +1 -0
- package/layouts/partials/icons/brands/square-x-twitter.svg +2 -0
- package/layouts/partials/icons/brands/vimeo-square.svg +2 -0
- package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +3 -0
- package/layouts/partials/icons/modus-outlined/arrow-up.svg +3 -0
- package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +3 -0
- package/layouts/partials/icons/modus-outlined/launch.svg +3 -0
- package/layouts/partials/icons/modus-outlined/menu.svg +3 -0
- package/layouts/partials/icons/modus-outlined/more-vertical.svg +3 -0
- package/layouts/partials/icons/modus-outlined/person-account.svg +3 -0
- package/layouts/partials/icons/modus-outlined/search.svg +3 -0
- package/layouts/partials/icons/modus-outlined/sync.svg +3 -0
- package/layouts/partials/icons/modus-outlined/thumbs-down.svg +3 -0
- package/layouts/partials/icons/modus-outlined/thumbs-up.svg +3 -0
- package/layouts/partials/icons/modus-outlined/web.svg +3 -0
- package/layouts/partials/icons/modus-solid/email.svg +3 -0
- package/layouts/partials/icons/modus-solid/palette.svg +3 -0
- package/layouts/partials/icons/navbar-toggler-icon.svg +1 -0
- package/layouts/partials/icons/transportation/truck.svg +3 -0
- package/layouts/partials/icons/trimble-logo.svg +1 -0
- package/layouts/partials/index/list-blog-brief.html +17 -0
- package/layouts/partials/logos/trimble.svg +1 -0
- package/layouts/partials/menu-right.html +24 -0
- package/layouts/partials/meta.html +81 -0
- package/layouts/partials/navbar-dropdown.html +21 -0
- package/layouts/partials/navbar-search.html +19 -0
- package/layouts/partials/navbar.html +31 -0
- package/layouts/partials/related-content.html +50 -0
- package/layouts/partials/skippy.html +11 -0
- package/layouts/partials/trimble-logo.html +47 -0
- package/layouts/partials/was-this-page-helpful.html +19 -0
- package/layouts/shortcodes/alert.html +18 -0
- package/layouts/shortcodes/blocks/cover.html +50 -0
- package/layouts/shortcodes/blocks/feature.html +17 -0
- package/layouts/shortcodes/blocks/link-down.html +7 -0
- package/layouts/shortcodes/blocks/section.html +13 -0
- package/layouts/shortcodes/checklist.html +7 -0
- package/layouts/shortcodes/cloakemail.html +38 -0
- package/layouts/shortcodes/date-today.html +1 -0
- package/layouts/shortcodes/example.html +50 -0
- package/layouts/shortcodes/iframe.html +24 -0
- package/layouts/shortcodes/img.html +10 -0
- package/layouts/shortcodes/markdown.html +1 -0
- package/layouts/shortcodes/message.html +7 -0
- package/layouts/shortcodes/partial.html +1 -0
- package/layouts/shortcodes/tab.html +55 -0
- package/layouts/shortcodes/table.html +9 -0
- package/layouts/shortcodes/tabpane.html +172 -0
- package/layouts/sitemap.xml +8 -0
- package/package.json +47 -0
- package/static/favicon.ico +0 -0
- package/static/favicon.svg +1 -0
- package/static/fonts/open-sans-v27-latin-300.woff +0 -0
- package/static/fonts/open-sans-v27-latin-300.woff2 +0 -0
- package/static/fonts/open-sans-v27-latin-300italic.woff +0 -0
- package/static/fonts/open-sans-v27-latin-300italic.woff2 +0 -0
- package/static/fonts/open-sans-v27-latin-600.woff +0 -0
- package/static/fonts/open-sans-v27-latin-600.woff2 +0 -0
- package/static/fonts/open-sans-v27-latin-700.woff +0 -0
- package/static/fonts/open-sans-v27-latin-700.woff2 +0 -0
- package/static/fonts/open-sans-v27-latin-800.woff +0 -0
- package/static/fonts/open-sans-v27-latin-800.woff2 +0 -0
- package/static/fonts/open-sans-v27-latin-italic.woff +0 -0
- package/static/fonts/open-sans-v27-latin-italic.woff2 +0 -0
- package/static/fonts/open-sans-v27-latin-regular.woff +0 -0
- package/static/fonts/open-sans-v27-latin-regular.woff2 +0 -0
- package/static/img/trimble-logo.svg +1 -0
- package/static/js/instant-page.min.js +2 -0
- package/static/js/theme-toggle.js +48 -0
- package/static/staticwebapp.config.json +24 -0
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 216 51"><path d="M74.862 16.979h8.883v4.241h.112c1.114-3.519 5.137-4.913 8.714-4.913v9.157a10.7 10.7 0 00-3.688-.781c-3.015 0-3.966.781-4.973 2.178V45.01h-9.048zm20.089 0h9.05V45.01h-9.05zm12.11 0h9.051v3.74h.111a9.424 9.424 0 017.99-4.412c2.737 0 5.472 1.728 5.64 4.412h.109a9.426 9.426 0 017.99-4.412c3.627 0 6.309 1.957 6.309 5.973v22.73h-9.048V25.184c0-1.5-.5-2.508-2.177-2.508a2.847 2.847 0 00-2.346 1.17l-.507.667v20.5h-9.045V25.184c0-1.5-.5-2.508-2.177-2.508a2.871 2.871 0 00-2.352 1.17l-.5.667v20.5h-9.051zm40.24-11.731h9.053v13.345h.116a8.332 8.332 0 015.467-2.29c6.263 0 9.608 6.254 9.608 14.348 0 6.42-2.677 14.689-10.272 14.689-3.522 0-5.812-1.673-7.6-4.358l-1.681 4.024h-4.693zm9.053 30.771c-.163 2.342 1.233 3.63 2.96 3.63 2.512 0 2.848-2.518 2.848-7.708v-2.12c0-5.584 0-8.491-2.788-8.491a4.035 4.035 0 00-2.515 1.122l-.5.495zm17.55-30.771h9.05V45.01h-9.05zm20.455 26.909c0 2.463.5 6.65 4.078 6.65a4.791 4.791 0 004.576-3.857l6.088 2.23a11.546 11.546 0 01-11.226 7.658c-8.659 0-12.567-6.982-12.567-14.739 0-7.934 4.134-14.634 12.454-14.634 8.716 0 11.731 7.485 11.731 14.8v1.9zm6.755-5.356c-.054-2.624-.276-5.642-3.407-5.642-2.567 0-3.348 3.018-3.348 5.642zM94.926 5.073H104v8.068h-9.074z" fill="currentColor"/><path d="M50.771 5.099h28.043v7.708H69.82v32.054H59.764V12.807h-8.993zM32.572 35.038a14.593 14.593 0 01-.516 1.739q-.087.235-.178.46c-.382.378-.654.608-.732.672a17.178 17.178 0 01-11.7 4.237l-3.877 2.1a19.8 19.8 0 0010.09-.413 19.374 19.374 0 007.124-3.96 19.727 19.727 0 004.64-5.911 22.025 22.025 0 00.9-2.035zM18.983 7.682c.136-.006.279-.008.42-.01.258-.008.514-.006.771 0a9.081 9.081 0 00-1.312.416l3.463 1.876a9.827 9.827 0 017.28 3.067c-.42.04-.857.1-1.3.171l5.862 3.176c-.013-.064-.02-.131-.034-.2a2.792 2.792 0 01.623.514l3.9 2.11c-.048-.148-.087-.293-.137-.442a22.183 22.183 0 00-1.436-3.283 17.847 17.847 0 00-2.3-3.184 21.85 21.85 0 00-2.438-2.314c-.031-.025-.167-.137-.34-.272a20.665 20.665 0 00-10.549-4.143c-.116-.008-.221-.01-.333-.016a17.973 17.973 0 00-3.865.105l-.229.038c-.551.078-1.03.167-1.417.257-.35.08-.676.164-.986.248l3.607 1.954c.25-.023.498-.057.75-.068zM3.798 31.338a18.109 18.109 0 01-1.038-3.762 20.006 20.006 0 01-.2-3.162 11.364 11.364 0 01.139-1.745 17.522 17.522 0 011.225-4.46v-5.135a18.81 18.81 0 00-1.729 2.777 20.059 20.059 0 00-2.023 6.408 13.835 13.835 0 00-.171 2.183 21.623 21.623 0 00.217 3.43 20.207 20.207 0 001.445 4.979 20.861 20.861 0 001.8 3.235 1.18 1.18 0 00.2.279c.084.12.178.239.266.358V31.03a5.798 5.798 0 00-.131.308zm29.425-9.291a7.784 7.784 0 01-.85 1.122 26.517 26.517 0 012.2 5.283c.2-.262.391-.527.564-.809a9.438 9.438 0 00.734-1.476 9.654 9.654 0 00.469-1.58 10.134 10.134 0 00.2-1.656 10.868 10.868 0 00-.071-1.711 11.487 11.487 0 00-.541-2.417l-.046-.129a7.027 7.027 0 00-1-1.8l-.136-.18-.589-.319a7.821 7.821 0 01-.934 5.672zM15.071 8.393a16.38 16.38 0 012.028.624 8.79 8.79 0 011.76-.925l-.626-.339a27.477 27.477 0 00-3.162.64zm23.251 23.534l12.279-6.648-11.952-6.471a19.532 19.532 0 01-.327 13.119zM21.431 10.035a7.462 7.462 0 00-1.413.338 28.8 28.8 0 015 3.611 24.159 24.159 0 013.281-.781L22.32 9.965a8.042 8.042 0 00-.889.07z" fill="currentColor"/><path d="M27.232 35.217A20.478 20.478 0 018.983 27.68a14.378 14.378 0 00-3.082 5.513 4.6 4.6 0 00-.1 1.766c.275.381.576.766.928 1.184a17.231 17.231 0 008.264 5.321 17.41 17.41 0 004.46.679l13.123-7.108a9.066 9.066 0 00.166-1.652 15.324 15.324 0 01-5.51 1.834zM9.329 23.5a40.33 40.33 0 015.27-4.321 9.895 9.895 0 01-.348-.853 8.029 8.029 0 01.6-6.952c.075-.123.163-.232.243-.349a9.319 9.319 0 00-3.894-.384 9.608 9.608 0 00-3.266 7.322 11.841 11.841 0 00.693 3.918 13.957 13.957 0 00.702 1.619zm7.337-6.019c.035.1.08.189.117.284a40.837 40.837 0 015.47-2.772 24.243 24.243 0 00-4.679-3 5.142 5.142 0 00-.538.715 5.52 5.52 0 00-.37 4.778zm9.979 5.898a6.872 6.872 0 002.384-.779 32.135 32.135 0 00-4.634-5.707c-.306.112-.612.228-.922.355a36.858 36.858 0 00-5.365 2.723 9.725 9.725 0 008.537 3.408zM9.665 7.888a19.768 19.768 0 014.961-2.095l-10.7-5.8v13.081a19.816 19.816 0 015.739-5.186zm21.373 12.827a5.516 5.516 0 00.372-4.779c-.05-.147-.115-.289-.176-.432a15.972 15.972 0 00-4.075.537 35 35 0 013.804 4.782c.02-.037.053-.07.075-.108z" fill="currentColor"/><path d="M26.883 32.685a12.352 12.352 0 005.551-2.151 22.653 22.653 0 00-2.122-5.718 9.443 9.443 0 01-3.309 1.1 12.4 12.4 0 01-11.026-4.541 38.391 38.391 0 00-5.249 4.39 17.78 17.78 0 0016.155 6.92zm-19.4-7.217a16.386 16.386 0 01-1.27-2.741 13.6 13.6 0 01-.47-7.809 16.158 16.158 0 00-1.26 2.085c-.216.427-.393.823-.556 1.2V31.03a20.35 20.35 0 013.556-5.562zm28.557 5.247c-.263.3-.544.583-.833.855q.052.48.077.945a18.343 18.343 0 00.756-1.8zM4.763 37.793c-.309-.369-.58-.718-.84-1.066v13.828l11.649-6.31a23.43 23.43 0 01-1.293-.321 19.865 19.865 0 01-9.516-6.131zM39.471 42.2a3.131 3.131 0 113.14 3.066 3.095 3.095 0 01-3.14-3.066zm.6 0a2.538 2.538 0 102.544-2.433 2.482 2.482 0 00-2.548 2.433zm4.107 1.719h-.6l-1.005-1.574h-.611v1.574h-.519v-3.412h1.53a1.719 1.719 0 01.854.165.841.841 0 01.386.732c0 .677-.478.926-1.1.941zm-1.648-2c.492 0 1.168.087 1.168-.526 0-.44-.386-.5-.827-.5h-.907v1.03zm166.893.281a3.131 3.131 0 113.14 3.066 3.095 3.095 0 01-3.14-3.066zm.6 0a2.538 2.538 0 102.544-2.433 2.482 2.482 0 00-2.548 2.433zm4.107 1.719h-.6l-1-1.574h-.611v1.574h-.518v-3.412h1.531a1.719 1.719 0 01.854.165.841.841 0 01.386.732c0 .677-.478.926-1.1.941zm-1.648-2c.492 0 1.168.087 1.168-.526 0-.44-.387-.5-.827-.5h-.907v1.03z" fill="currentColor"/></svg>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="container mb-5">
|
2
|
+
<div class="row">
|
3
|
+
{{ range first 3 (where .Site.RegularPages.ByPublishDate.Reverse ".Section" "not in" "addons") }}
|
4
|
+
{{- if not .Params.hideHomePages -}}
|
5
|
+
{{- partial "blog-brief.html" . -}}
|
6
|
+
{{- end -}}
|
7
|
+
{{- end -}}
|
8
|
+
</div>
|
9
|
+
|
10
|
+
{{ if .IsHome }}
|
11
|
+
<div class="text-center mt-3">
|
12
|
+
<a href="{{ "/news/" | relURL }}" class="h4">
|
13
|
+
View All
|
14
|
+
</a>
|
15
|
+
</div>
|
16
|
+
{{- end -}}
|
17
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 444.7 100"><path d="M115.85,87.13v-62H93V11.21h62.57v14h-23v62Z" fill="currentColor"/><path d="M141.9,87.13V32.74h16.52v8.84h.1c3-4.62,8.21-10.26,18.47-10.26h.51V46c-.61-.11-3.49-.31-4.51-.31a18.27,18.27,0,0,0-14.57,7.49v34Z" fill="currentColor"/><path d="M182.72,25V11.72h16.62V25Zm.11,62.17V32.44h16.41V87.13Z" fill="currentColor"/><path d="M205.7,87.13V32.44h16.51v8.62c3.29-4.31,9.34-9.74,18-9.74,9.13,0,13.44,3.79,15,9.74,3.28-4.2,9.44-9.74,18-9.74,11.08,0,16,7,16,16.72V87.13H272.69V52.45c0-4.92-1.13-7.49-5.95-7.49-4.1,0-7.39,2.26-11,5.44V87.13H239.25V52.45c0-4.92-1.13-7.49-6-7.49-4.1,0-7.38,2.26-11.08,5.44V87.13Z" fill="currentColor"/><path d="M312,80.66v6.47H295.45V11.21H312V40.86c3.59-5,8.72-9.54,16.82-9.54,12.42,0,21,9.54,21,28.41S341.11,88,328.59,88C321.2,88,316.07,85.28,312,80.66Zm21.34-20.82c0-9.13-3.18-14.88-10.57-14.88-4.21,0-8,2.57-10.77,5.34V70.51c3.59,3.38,6.56,5,11,5C329.82,75.53,333.31,69.79,333.31,59.84Z" fill="currentColor"/><path d="M354.94,87.13V11.21h16.41V87.13Z" fill="currentColor"/><path d="M376.47,59.84c0-21.24,16.21-28.52,27.49-28.52S429.1,37,429.1,61.79v2.46H392.88c.83,9,5.85,12.51,12.73,12.51a25.16,25.16,0,0,0,16.21-6.56l6.36,9.85c-6.36,5.44-14.26,8.21-23.8,8.21C390.11,88.26,376.47,81,376.47,59.84Zm37.86-5.34c-.82-7.69-4.31-11.39-10.47-11.39-5.13,0-9.54,3.39-10.77,11.39Z" fill="currentColor"/><path d="M432.22,81a6.19,6.19,0,0,1,6.26-6.26A6.26,6.26,0,1,1,432.22,81Zm11.38,0a5.14,5.14,0,1,0-5.12,5.23A5.12,5.12,0,0,0,443.6,81Zm-7.55-3.56h2.56c1.62,0,2.56.7,2.56,2.1a1.84,1.84,0,0,1-1.34,1.94l1.48,2.81h-1.43l-1.38-2.62h-1.08v2.62h-1.37Zm2.48,3.18c.84,0,1.3-.27,1.3-1s-.46-1-1.33-1h-1.08v2Z" fill="currentColor"/><path d="M6.19,76.41V100L26.71,88.16A39.1,39.1,0,0,1,6.19,76.41Z" fill="currentColor"/><path d="M26.56,11.74,6.19,0V23.45A39.33,39.33,0,0,1,26.56,11.74Z" fill="currentColor"/><path d="M92.8,50,72.29,38.16a39.27,39.27,0,0,1-.06,23.72Z" fill="currentColor"/><path d="M19.7,17.92c2.94-.65,9.05,0,12.28.89a18.68,18.68,0,0,1,10.37-3.45A41.12,41.12,0,0,0,19.7,17.92Z" fill="currentColor"/><path d="M58.79,60.84a53.07,53.07,0,0,0-3.21-13.13c-7,3.18-15.72,1.13-21.53-3.9A95.93,95.93,0,0,0,22.62,58.32C32.47,66.35,48.67,68.46,58.79,60.84Z" fill="currentColor"/><path d="M17.23,59.09C8.55,50.19,5.52,37.22,8.3,27.25a35,35,0,0,0,2,47.47A63.4,63.4,0,0,1,17.23,59.09Z" fill="currentColor"/><path d="M54,43.94a47.18,47.18,0,0,0-7-10.78A80.73,80.73,0,0,0,37,40.93C42.26,45.3,49.14,46.16,54,43.94Z" fill="currentColor"/><path d="M47.47,27.72a36.33,36.33,0,0,1,7.62-4.23c-5.56-5.62-14.5-5.47-18.39-3A37.17,37.17,0,0,1,47.47,27.72Z" fill="currentColor"/><path d="M20.4,62c-4.32,7.47-5.9,13-6.48,15.87A35,35,0,0,0,57.1,77a30,30,0,0,0,2-11.33C47.14,72.79,30.66,70.07,20.4,62Z" fill="currentColor"/><path d="M57.4,41.45c3.83-4,3.06-10.84.15-14.78a29.6,29.6,0,0,0-7.13,4.18A52.73,52.73,0,0,1,57.4,41.45Z" fill="currentColor"/><path d="M64,32.85a14.1,14.1,0,0,1-4.84,12.59A57.37,57.37,0,0,1,62.49,57.2C67.74,50.38,67.58,40.64,64,32.85Z" fill="currentColor"/><path d="M34.16,37.9A83.13,83.13,0,0,1,44,30.11a33.17,33.17,0,0,0-10.82-6.59C29.92,27.89,30.92,33.53,34.16,37.9Z" fill="currentColor"/><path d="M63.12,62.69a49.42,49.42,0,0,1-.43,8.88A35.37,35.37,0,0,0,70,47.07,26.82,26.82,0,0,1,63.12,62.69Z" fill="currentColor"/><path d="M29.1,22.28a28.42,28.42,0,0,0-13.9.09c-6.89,9.77-3.69,24.08,4.33,33A100.8,100.8,0,0,1,31.18,40.79C27.1,35.72,25.48,27.89,29.1,22.28Z" fill="currentColor"/></svg>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<div class="sticky-top sticky-offset">
|
2
|
+
{{ if and (gt .WordCount 200 ) (not .Params.hideToc) }}
|
3
|
+
<div class="h5 pt-2 ml-3 on-this-page">
|
4
|
+
On this page
|
5
|
+
</div>
|
6
|
+
{{- .TableOfContents -}}
|
7
|
+
<script>
|
8
|
+
document.addEventListener('DOMContentLoaded', function () {
|
9
|
+
document.querySelectorAll('#TableOfContents ul').forEach(function (ul) {
|
10
|
+
ul.classList.add('list-unstyled', 'pl-0', 'ml-0');
|
11
|
+
});
|
12
|
+
document.querySelectorAll('#TableOfContents a').forEach(function (a) {
|
13
|
+
a.classList.add('nav-link');
|
14
|
+
});
|
15
|
+
});
|
16
|
+
</script>
|
17
|
+
|
18
|
+
<hr class="opacity-25">
|
19
|
+
{{ end }}
|
20
|
+
|
21
|
+
{{- if not .Params.blog -}}
|
22
|
+
{{ partial "was-this-page-helpful.html" . }}
|
23
|
+
{{ end }}
|
24
|
+
</div>
|
@@ -0,0 +1,81 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
3
|
+
<title>{{- if .IsHome -}}{{- .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title -}}{{- end -}}</title>
|
4
|
+
|
5
|
+
<!-- Removes the .no-js class from the <html> element if JavaScript is enabled -->
|
6
|
+
<script>document.documentElement.classList.remove('no-js');</script>
|
7
|
+
|
8
|
+
<!-- Load Modus Bootstrap CSS from CDN -->
|
9
|
+
<link rel="stylesheet" href="https://modus-bootstrap.netlify.app/docs/v2/dist/css/modus-bootstrap.min.css">
|
10
|
+
|
11
|
+
<!-- Compiles and minifies the sites Sass files from /assets/css/ -->
|
12
|
+
{{- $sassOptions := (dict "enableSourceMap" true) -}}
|
13
|
+
{{ $styles := resources.Get "styles/styles.scss" | toCSS $sassOptions | postCSS | minify }}
|
14
|
+
<link rel="stylesheet" href="{{ $styles.RelPermalink }}?v{{ hugo.Version }}">
|
15
|
+
|
16
|
+
<!-- Load jQuery from CDN with fallback -->
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.0/dist/jquery.min.js"></script>
|
18
|
+
<script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-3.7.0.min.js"><\/script>');</script>
|
19
|
+
<link rel="stylesheet" href="{{- .Site.BaseURL -}}fonts/modus-icons.css">
|
20
|
+
|
21
|
+
<!-- Loads Dark Mode Toggle JS -->
|
22
|
+
<script src="{{- .Site.BaseURL -}}js/theme-toggle.js"></script>
|
23
|
+
|
24
|
+
<meta name="description"
|
25
|
+
content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
|
26
|
+
|
27
|
+
<!-- OpenGraph Meta tags using Hugo's own built-in template -->
|
28
|
+
{{ template "_internal/opengraph.html" . }}
|
29
|
+
{{ if eq $.Site.Language.Lang "en-US" }}
|
30
|
+
<meta property="og:locale" content="en_US">
|
31
|
+
{{ end }}
|
32
|
+
|
33
|
+
<!-- no need to define additional Twitter card meta tags as fallback to Open Graph -->
|
34
|
+
<!-- https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#twitter-cards-and-open-graph -->
|
35
|
+
|
36
|
+
{{- if .Params.private -}}
|
37
|
+
<meta name="robots" content="noindex, nofollow">
|
38
|
+
{{ end }}
|
39
|
+
|
40
|
+
{{- with .Site.Params.themeColor -}}
|
41
|
+
<!-- Theme Color is used for the tab color on Chrome for Android -->
|
42
|
+
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color -->
|
43
|
+
<meta name="theme-color" content="{{- . | default "#005f9e" -}}">
|
44
|
+
{{ end }}
|
45
|
+
|
46
|
+
{{- with .Site.Params.googleSiteVerification -}}
|
47
|
+
<!-- Google Site Verification -->
|
48
|
+
<!-- https://support.google.com/webmasters/answer/9008080?hl=en -->
|
49
|
+
<meta name="google-site-verification" content="{{- . -}}">
|
50
|
+
{{ end }}
|
51
|
+
|
52
|
+
<!-- Loads the Trimble favicon and the SVG icon -->
|
53
|
+
<link rel="alternate icon" type="image/x-icon" href="{{- .Site.BaseURL -}}favicon.ico">
|
54
|
+
<link rel="icon" type="image/svg+xml" href="{{- .Site.BaseURL -}}favicon.svg">
|
55
|
+
|
56
|
+
<!-- Polyfills for Internet Explorer 11 -->
|
57
|
+
<script nomodule crossorigin="anonymous"
|
58
|
+
src="https://polyfill.io/v3/polyfill.min.js?features=default%2CNumber.parseInt%2CNumber.parseFloat%2CArray.prototype.find%2CArray.prototype.includes"></script>
|
59
|
+
<script
|
60
|
+
nomodule>window.MSInputMethodContext && document.documentMode && document.write('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-ie11@5.3.1/css/bootstrap-ie11.min.css"><script src="https://cdn.jsdelivr.net/combine/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js,npm/ie11-custom-properties@4,npm/element-qsa-scope@1"><\/script>');</script>
|
61
|
+
|
62
|
+
{{- if not .Params.hideSearch -}}
|
63
|
+
<script>
|
64
|
+
var baseurl = "{{- .Site.BaseURL -}}";
|
65
|
+
</script>
|
66
|
+
|
67
|
+
<!-- Combines and minifies the 3x JS files which are used for the Search -->
|
68
|
+
{{ $autocomplete := resources.Get "js/auto-complete.min.js" }}
|
69
|
+
{{ $lunr := resources.Get "js/lunr.min.js" }}
|
70
|
+
{{ $search := resources.Get "js/search.min.js" }}
|
71
|
+
{{ $js := slice $autocomplete $lunr $search | resources.Concat "js/search.js" | resources.Minify }}
|
72
|
+
<script src="{{- $js.RelPermalink -}}" fetchpriority="low"></script>
|
73
|
+
{{- end -}}
|
74
|
+
{{ if .IsHome }}
|
75
|
+
{{ hugo.Generator }}
|
76
|
+
{{ end }}
|
77
|
+
|
78
|
+
<!-- Loads Bootstrap 5 JS from CDN -->
|
79
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script>
|
80
|
+
|
81
|
+
{{ partial "custom-header" . }}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<ul class="dropdown-menu dropdown-menu-end mt-2 pb-0" style="min-width:250px;z-index: 1030;">
|
2
|
+
{{ with .Site.Data.navbar_apps }}
|
3
|
+
{{ range . }}
|
4
|
+
<li class="border-bottom">
|
5
|
+
<a class="dropdown-item py-3 pe-2" href="{{- .url -}}" target="_blank" rel="noopener">
|
6
|
+
<div class="d-flex">
|
7
|
+
<div class="col-2 text-center">
|
8
|
+
{{ with .icon }}
|
9
|
+
<img src="{{- . -}}" class="filter-greyscale opacity-75" height="18" width="18" alt="">
|
10
|
+
{{ end }}
|
11
|
+
</div>
|
12
|
+
<div class="col-9 align-self-center">
|
13
|
+
{{- .title }} <img src="/img/icons/external-link.svg" class="filter-greyscale opacity-50" height="14"
|
14
|
+
width="14" alt="">
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
</a>
|
18
|
+
</li>
|
19
|
+
{{ end }}
|
20
|
+
{{ end }}
|
21
|
+
</ul>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<div class="search-container d-inline-block position-relative">
|
2
|
+
<input class="form-control form-control-search position-absolute" aria-label="Search" id="search-by" type="search"
|
3
|
+
name="q" placeholder="Search..." autocomplete="off" title="" required>
|
4
|
+
<label class="btn btn-lg btn-icon-only border-0 btn-search position-absolute px-1" for="search-by">
|
5
|
+
<i class="modus-icons notranslate text-white" aria-hidden="true">search</i>
|
6
|
+
</label>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<script>
|
10
|
+
// Lose Focus on Input when user presses Escape only if no input
|
11
|
+
const input = document.querySelector('.form-control-search');
|
12
|
+
input.addEventListener('keydown', (event) => {
|
13
|
+
if (event.key === 'Escape') {
|
14
|
+
if (input.value === '') {
|
15
|
+
input.blur();
|
16
|
+
}
|
17
|
+
}
|
18
|
+
});
|
19
|
+
</script>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<nav class="navbar shadow-sm navbar-blue sticky-top" aria-label="Main Navigation">
|
2
|
+
<div class="container-fluid">
|
3
|
+
<div>
|
4
|
+
<button class="btn btn-lg btn-icon-only d-inline-block border-0" type="button" aria-label="Menu"
|
5
|
+
data-bs-target="#sidebar" data-bs-toggle="collapse">
|
6
|
+
<i class="modus-icons menu-btn notranslate mt-1 text-white" aria-hidden="true">menu</i>
|
7
|
+
</button>
|
8
|
+
<a class="navbar-brand text-primary" href="/">
|
9
|
+
<img src="https://modus-bootstrap.trimble.com/img/trimble-logo-rev.svg" width="107" height="25"
|
10
|
+
class="img-fluid d-none d-sm-inline-block" alt="home" />
|
11
|
+
<img src="https://modus-bootstrap.trimble.com/img/trimble-icon-rev.svg"
|
12
|
+
class="d-inline-block d-sm-none px-1 mt-1" height="25" width="25" alt="home" />
|
13
|
+
</a>
|
14
|
+
</div>
|
15
|
+
|
16
|
+
<div class="d-flex d-row">
|
17
|
+
|
18
|
+
{{ partial "navbar-search" . }}
|
19
|
+
|
20
|
+
<div class="dropdown">
|
21
|
+
<button type="button" class="btn btn-lg btn-icon-only border-0" data-bs-toggle="dropdown" aria-expanded="false"
|
22
|
+
aria-label="Menu">
|
23
|
+
<i class="modus-icons notranslate mt-2 text-white" aria-hidden="true">apps</i>
|
24
|
+
</button>
|
25
|
+
|
26
|
+
{{ partial "navbar-dropdown" . }}
|
27
|
+
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</nav>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{{ $related := .Site.RegularPages.Related . | first 3 }}
|
2
|
+
{{ with $related }}
|
3
|
+
<span class="h3 mt-4 overflow-hidden">You May Also Like</span>
|
4
|
+
<div class="row mb-3">
|
5
|
+
{{- range . -}}
|
6
|
+
<div class="col-12 col-md-6 col-lg-4 my-3">
|
7
|
+
<div class="card card-post h-100">
|
8
|
+
<div class="card-header rounded-top border-0 mb-0 pb-0"
|
9
|
+
style="background-image: url({{- .Params.Image | relURL -}}); background-color: {{- .Params.headerBgColor -}};">
|
10
|
+
</div>
|
11
|
+
<div class="card-body border-0 pb-0">
|
12
|
+
<h3
|
13
|
+
class="h5 card-title mb-0 mt-n1 ms-n2 text-primary {{ if .Params.DoNotTranslateTitle }} notranslate{{- end -}}">
|
14
|
+
{{- .Title | title -}}
|
15
|
+
</h3>
|
16
|
+
<p class="mt-1 opacity-75">
|
17
|
+
<time datetime="{{ .Date }}" class="opacity-75">
|
18
|
+
{{- .Date.Format "Jan 2, 2006" -}}
|
19
|
+
</time><br>By {{ .Params.author -}}
|
20
|
+
</p>
|
21
|
+
<p class="ms-n2">
|
22
|
+
<a href="{{ .RelPermalink }}" class="stretched-link text-decoration-none text-body">
|
23
|
+
{{- with .Description -}}{{ . }}
|
24
|
+
{{- else -}}{{ with .Summary }}{{- . | plainify | htmlUnescape -}}
|
25
|
+
{{- end -}}{{- end -}}
|
26
|
+
</a>
|
27
|
+
</p>
|
28
|
+
</div>
|
29
|
+
<div class="card-footer border-0 py-0 bg-transparent">
|
30
|
+
<div class="row">
|
31
|
+
<div class="px-2 mx-3 mb-1 read-more-divider"></div>
|
32
|
+
</div>
|
33
|
+
<div class="row">
|
34
|
+
<p class="ps-3 fw-bold text-primary">
|
35
|
+
Read More <svg xmlns="http://www.w3.org/2000/svg" class="ms-1" width="6.3" height="9.8"
|
36
|
+
viewBox="0 0 6.3 9.8">
|
37
|
+
<g transform="translate(1.412 1.412)">
|
38
|
+
<path id="Path_627" data-name="Path 627" d="M18,18.965l3.889-3.482L18,12" transform="translate(-18 -12)"
|
39
|
+
fill="none" stroke="#005f9e" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" />
|
40
|
+
</g>
|
41
|
+
</svg>
|
42
|
+
</p>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
{{- end -}}
|
48
|
+
</div>
|
49
|
+
|
50
|
+
{{- end -}}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div class="skippy overflow-hidden">
|
2
|
+
<div class="text-center w-100" >
|
3
|
+
<a class="sr-only sr-only-focusable btn btn-primary rounded p-1 m-2" href="#main">Skip to
|
4
|
+
main content</a>
|
5
|
+
|
6
|
+
{{ if (eq .Page.Layout "docs") }}
|
7
|
+
<a class="sr-only sr-only-focusable d-none d-md-inline-flex p-1 mb-1" href="#bd-docs-nav">Skip to docs
|
8
|
+
navigation</a>
|
9
|
+
{{- end }}
|
10
|
+
</div>
|
11
|
+
</div>
|
@@ -0,0 +1,47 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="115" height="26" class="img-fluid" viewBox="0 0 444.7 100">
|
2
|
+
<path d="M115.85 87.13v-62H93V11.21h62.57v14h-23v62z" fill="currentcolor" />
|
3
|
+
<path
|
4
|
+
d="M141.9 87.13V32.74h16.52v8.84h.1c3-4.62 8.21-10.26 18.47-10.26h.51V46c-.61-.11-3.49-.31-4.51-.31a18.27 18.27.0 00-14.57 7.49v34z"
|
5
|
+
fill="currentcolor" />
|
6
|
+
<path d="M182.72 25V11.72h16.62V25zm.11 62.17V32.44h16.41V87.13z" fill="currentcolor" />
|
7
|
+
<path
|
8
|
+
d="M205.7 87.13V32.44h16.51v8.62c3.29-4.31 9.34-9.74 18-9.74 9.13.0 13.44 3.79 15 9.74 3.28-4.2 9.44-9.74 18-9.74 11.08.0 16 7 16 16.72V87.13H272.69V52.45c0-4.92-1.13-7.49-5.95-7.49-4.1.0-7.39 2.26-11 5.44V87.13H239.25V52.45c0-4.92-1.13-7.49-6-7.49-4.1.0-7.38 2.26-11.08 5.44V87.13z"
|
9
|
+
fill="currentcolor" />
|
10
|
+
<path
|
11
|
+
d="M312 80.66v6.47H295.45V11.21H312V40.86c3.59-5 8.72-9.54 16.82-9.54 12.42.0 21 9.54 21 28.41S341.11 88 328.59 88C321.2 88 316.07 85.28 312 80.66zm21.34-20.82c0-9.13-3.18-14.88-10.57-14.88-4.21.0-8 2.57-10.77 5.34V70.51c3.59 3.38 6.56 5 11 5C329.82 75.53 333.31 69.79 333.31 59.84z"
|
12
|
+
fill="currentcolor" />
|
13
|
+
<path d="M354.94 87.13V11.21h16.41V87.13z" fill="currentcolor" />
|
14
|
+
<path
|
15
|
+
d="M376.47 59.84c0-21.24 16.21-28.52 27.49-28.52S429.1 37 429.1 61.79v2.46H392.88c.83 9 5.85 12.51 12.73 12.51a25.16 25.16.0 0016.21-6.56l6.36 9.85c-6.36 5.44-14.26 8.21-23.8 8.21C390.11 88.26 376.47 81 376.47 59.84zm37.86-5.34c-.82-7.69-4.31-11.39-10.47-11.39-5.13.0-9.54 3.39-10.77 11.39z"
|
16
|
+
fill="currentcolor" />
|
17
|
+
<path
|
18
|
+
d="M432.22 81a6.19 6.19.0 016.26-6.26A6.26 6.26.0 11432.22 81zm11.38.0a5.14 5.14.0 10-5.12 5.23A5.12 5.12.0 00443.6 81zm-7.55-3.56h2.56c1.62.0 2.56.7 2.56 2.1a1.84 1.84.0 01-1.34 1.94l1.48 2.81h-1.43l-1.38-2.62h-1.08v2.62h-1.37zm2.48 3.18c.84.0 1.3-.27 1.3-1s-.46-1-1.33-1h-1.08v2z"
|
19
|
+
fill="currentcolor" />
|
20
|
+
<path d="M6.19 76.41V1e2L26.71 88.16A39.1 39.1.0 016.19 76.41z" fill="currentcolor" />
|
21
|
+
<path d="M26.56 11.74 6.19.0V23.45A39.33 39.33.0 0126.56 11.74z" fill="currentcolor" />
|
22
|
+
<path d="M92.8 50 72.29 38.16a39.27 39.27.0 01-.06 23.72z" fill="currentcolor" />
|
23
|
+
<path d="M19.7 17.92c2.94-.65 9.05.0 12.28.89a18.68 18.68.0 0110.37-3.45A41.12 41.12.0 0019.7 17.92z"
|
24
|
+
fill="currentcolor" />
|
25
|
+
<path
|
26
|
+
d="M58.79 60.84a53.07 53.07.0 00-3.21-13.13c-7 3.18-15.72 1.13-21.53-3.9A95.93 95.93.0 0022.62 58.32C32.47 66.35 48.67 68.46 58.79 60.84z"
|
27
|
+
fill="currentcolor" />
|
28
|
+
<path d="M17.23 59.09C8.55 50.19 5.52 37.22 8.3 27.25a35 35 0 002 47.47 63.4 63.4.0 016.93-15.63z"
|
29
|
+
fill="currentcolor" />
|
30
|
+
<path d="M54 43.94a47.18 47.18.0 00-7-10.78A80.73 80.73.0 0037 40.93c5.26 4.37 12.14 5.23 17 3.01z"
|
31
|
+
fill="currentcolor" />
|
32
|
+
<path d="M47.47 27.72a36.33 36.33.0 017.62-4.23c-5.56-5.62-14.5-5.47-18.39-3a37.17 37.17.0 0110.77 7.23z"
|
33
|
+
fill="currentcolor" />
|
34
|
+
<path d="M20.4 62c-4.32 7.47-5.9 13-6.48 15.87A35 35 0 0057.1 77a30 30 0 002-11.33C47.14 72.79 30.66 70.07 20.4 62z"
|
35
|
+
fill="currentcolor" />
|
36
|
+
<path d="M57.4 41.45c3.83-4 3.06-10.84.15-14.78a29.6 29.6.0 00-7.13 4.18 52.73 52.73.0 016.98 10.6z"
|
37
|
+
fill="currentcolor" />
|
38
|
+
<path d="M64 32.85a14.1 14.1.0 01-4.84 12.59A57.37 57.37.0 0162.49 57.2C67.74 50.38 67.58 40.64 64 32.85z"
|
39
|
+
fill="currentcolor" />
|
40
|
+
<path d="M34.16 37.9A83.13 83.13.0 0144 30.11a33.17 33.17.0 00-10.82-6.59C29.92 27.89 30.92 33.53 34.16 37.9z"
|
41
|
+
fill="currentcolor" />
|
42
|
+
<path d="M63.12 62.69a49.42 49.42.0 01-.43 8.88A35.37 35.37.0 0070 47.07 26.82 26.82.0 0163.12 62.69z"
|
43
|
+
fill="currentcolor" />
|
44
|
+
<path
|
45
|
+
d="M29.1 22.28a28.42 28.42.0 00-13.9.09c-6.89 9.77-3.69 24.08 4.33 33A100.8 100.8.0 0131.18 40.79c-4.08-5.07-5.7-12.9-2.08-18.51z"
|
46
|
+
fill="currentcolor" />
|
47
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<div class="d-none small p-2 feedback mt-2">
|
2
|
+
<div class="mt-2 mb-1">Was this page helpful?</div>
|
3
|
+
<button type="button" class="btn btn-light btn-outline btn-feedback btn-feedback-helpful border rounded p-1 me-2"
|
4
|
+
aria-label="Helpful">
|
5
|
+
{{- partial "icons/modus-outlined/thumbs-up.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary") -}}
|
6
|
+
</button>
|
7
|
+
<button type="button" class="btn btn-light btn-outline btn-feedback btn-feedback-not-helpful border rounded p-1"
|
8
|
+
aria-label="Not Helpful">
|
9
|
+
{{- partial "icons/modus-outlined/thumbs-down.svg" (dict "width" "22" "height" "22" "class" "mx-2 mx-auto text-primary") -}}
|
10
|
+
</button>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="small ml-2 d-none feedback-helpful">
|
14
|
+
Thanks for your feedback!
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="small ml-2 d-none feedback-not-helpful">
|
18
|
+
<a href="" rel="nofollow" target="_blank">Please, provide feedback about how we can improve the page</a>. Thank you!
|
19
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{{ $_hugo_config := `{ "version": 1 }` }}
|
2
|
+
{{ $color := .Get "color" | default "primary" }}
|
3
|
+
<div
|
4
|
+
class="alert alert-{{ $color }} d-flex align-items-center {{ with .Get "dismissible" }}alert-dismissible fade show{{end}}"
|
5
|
+
role="alert">
|
6
|
+
{{ with .Get "title" }}<h4 class="alert-heading">{{ . | safeHTML }}</h4>{{ end }}
|
7
|
+
{{- with .Get "icon" -}}<i class="modus-icons small notranslate me-2"
|
8
|
+
aria-hidden="true">{{- . | safeHTML | lower -}}</i>{{ end }}
|
9
|
+
{{ if eq .Page.File.Ext "md" }}
|
10
|
+
{{ .Inner | markdownify }}
|
11
|
+
{{ else }}
|
12
|
+
{{ .Inner | htmlUnescape | safeHTML }}
|
13
|
+
{{ end }}
|
14
|
+
|
15
|
+
{{ with .Get "dismissible" }}
|
16
|
+
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
17
|
+
{{ end }}
|
18
|
+
</div>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{{ $_hugo_config := `{ "version": 1 }` -}}
|
2
|
+
{{ $blockID := printf "td-cover-block-%d" .Ordinal -}}
|
3
|
+
{{ $promo_image := (.Page.Resources.ByType "image").GetMatch "**background*" -}}
|
4
|
+
{{ $logo_image := (.Page.Resources.ByType "image").GetMatch "**logo*" -}}
|
5
|
+
{{ $col_id := .Get "color" | default "dark" -}}
|
6
|
+
{{ $image_anchor := .Get "image_anchor" | default "smart" -}}
|
7
|
+
{{ $logo_anchor := .Get "logo_anchor" | default "smart" -}}
|
8
|
+
{{/* Height can be one of: auto, min, med, max, full. */ -}}
|
9
|
+
{{ $height := .Get "height" | default "max" -}}
|
10
|
+
|
11
|
+
{{ with $promo_image -}}
|
12
|
+
{{ $promo_image_big := (.Fill (printf "1920x1080 %s" $image_anchor)) -}}
|
13
|
+
{{ $promo_image_small := (.Fill (printf "960x540 %s" $image_anchor)) -}}
|
14
|
+
<link rel="preload" as="image" href="{{ $promo_image_small.RelPermalink }}" media="(max-width: 1200px)">
|
15
|
+
<link rel="preload" as="image" href="{{ $promo_image_big.RelPermalink }}" media="(min-width: 1200px)">
|
16
|
+
<style>
|
17
|
+
#{{ $blockID }} {
|
18
|
+
background-image: url({{ $promo_image_small.RelPermalink }});
|
19
|
+
}
|
20
|
+
@media only screen and (min-width: 1200px) {
|
21
|
+
#{{ $blockID }} {
|
22
|
+
background-image: url({{ $promo_image_big.RelPermalink }});
|
23
|
+
}
|
24
|
+
}
|
25
|
+
</style>
|
26
|
+
{{ end -}}
|
27
|
+
|
28
|
+
<section id="{{ $blockID }}" class="row td-cover-block td-cover-block--height-{{ $height -}}
|
29
|
+
{{ if not .Site.Params.ui.navbar_translucent_over_cover_disable }} js-td-cover
|
30
|
+
{{- end }} -bg-{{ $col_id }}">
|
31
|
+
<div class="col-12">
|
32
|
+
<div class="container">
|
33
|
+
<div class="text-center">
|
34
|
+
{{ with .Get "title" }}<h1 class="display-3 mt-0 mt-md-5 pb-4">{{ $title := . }}{{ with $logo_image }}{{ $logo_image_resized := (.Fit (printf "70x70 %s" $logo_anchor)) }}<img class="td-cover-logo" src="{{ $logo_image_resized.RelPermalink }}" alt="{{ $title | html }} Logo">{{ end }}{{ $title | html }}</h1>{{ end }}
|
35
|
+
{{ with .Get "subtitle" }}<p class="display-2 text-uppercase mb-0">{{ . | html }}</p>{{ end }}
|
36
|
+
<div class="pt-3 lead">
|
37
|
+
{{ if eq .Page.File.Ext "md" }}
|
38
|
+
{{ .Inner | markdownify }}
|
39
|
+
{{ else }}
|
40
|
+
{{ .Inner | htmlUnescape | safeHTML }}
|
41
|
+
{{ end }}
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
{{ with .Get "byline" | default "" -}}
|
47
|
+
<div class="byline">{{ . }}</div>
|
48
|
+
{{- end }}
|
49
|
+
</section>
|
50
|
+
{{/**/ -}}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
{{ $icon := .Get "icon" | default "info" -}}
|
2
|
+
{{ $url_text := .Get "url_text" -}}
|
3
|
+
<div class="col-lg-4 mb-5 mb-lg-0 text-center">
|
4
|
+
<div class="mb-4 h1" style="min-height: 100px">
|
5
|
+
<i class="{{ if not (or (hasPrefix $icon "fas ") (hasPrefix $icon "fab ")) }}modus-icons fs-1{{- end -}}"
|
6
|
+
style="font-size: 45px;">
|
7
|
+
{{- $icon -}}</i>
|
8
|
+
</div>
|
9
|
+
<h4 class="h3">
|
10
|
+
{{- .Get "title" | markdownify -}}
|
11
|
+
</h4>
|
12
|
+
<div class="mb-0">
|
13
|
+
{{ .Inner }}
|
14
|
+
</div>
|
15
|
+
{{ with .Get "url" }}<p><a href="{{ . }}">{{ with $url_text }}{{ $url_text }}{{ else }}{{ T "ui_read_more" }}{{ end }}
|
16
|
+
…</a></p>{{ end }}
|
17
|
+
</div>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{{ with .Parent }}
|
2
|
+
{{ $id := $.Get "id" | default (printf "td-block-%d" ( add .Ordinal 1 )) }}
|
3
|
+
{{ $color := $.Get "color" | default "blue" }}
|
4
|
+
<a class="btn btn-link text-{{ $color }}" href="#{{ $id }}" aria-label="{{ T "ui_read_more"}}"><i class="fa-solid fa-circle-chevron-down" style="font-size: 400%"></i></a>
|
5
|
+
{{ else }}
|
6
|
+
{{ errorf "The link-down shortcode is supposed to be nested inside a shortcode"}}
|
7
|
+
{{ end }}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
{{ $col_id := .Get "color" | default .Ordinal -}}
|
2
|
+
{{ $height := .Get "height" | default "auto" -}}
|
3
|
+
{{ $type := .Get "type" | default "container" -}}
|
4
|
+
|
5
|
+
<section class="row td-box td-box--{{ $col_id }} td-box--height-{{ $height }} mt-3">
|
6
|
+
<div class="col">
|
7
|
+
<div class="{{ $type }}">
|
8
|
+
{{/* Do NOT remove this comment! It ends the HTML block above. See https://spec.commonmark.org/0.30/#html-blocks, 7. */}}
|
9
|
+
{{ .Inner -}}
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
</section>
|
13
|
+
{{/**/ -}}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{{ $_hugo_config := `{ "version": 1 }` }}
|
2
|
+
<div class="form-check my-2">
|
3
|
+
<input type="checkbox" class="form-check-input" id="{{- .Inner | urlize -}}">
|
4
|
+
<label class="form-check-label text-dark p fs-5" for="{{- .Inner | urlize -}}">
|
5
|
+
{{- .Inner | markdownify -}}
|
6
|
+
</label>
|
7
|
+
</div>
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{{/* Get address, protocol and other parameters */}}
|
2
|
+
{{- $address := .Get "address" | default (.Get 0) -}}
|
3
|
+
{{- $protocol := .Get "protocol" | default "mailto" -}}
|
4
|
+
{{- $class := .Get "class" -}}
|
5
|
+
{{- $displaytext := .Get "display" -}}
|
6
|
+
{{- $parts := split $address "@" -}}
|
7
|
+
{{- $user := (index $parts 0) -}}
|
8
|
+
{{- $domain := (index $parts 1) | default "" -}}
|
9
|
+
{{- $query := .Get "query" | default "" -}}
|
10
|
+
{{/* Compute md5 fingerprint */}}
|
11
|
+
{{- $fingerprint := md5 (print $address $protocol (index (seq 999 | shuffle) 0)) | truncate 8 "" -}}
|
12
|
+
{{/* Set via CSS what is displayed when JavaScript is disabled. Query is never displayed */}}
|
13
|
+
<style>
|
14
|
+
#span-{{ $fingerprint }}.cloaked-e-mail:before {
|
15
|
+
content:{{ with $domain }}attr(data-domain) "\0040" {{ end }}attr(data-user);
|
16
|
+
unicode-bidi:bidi-override;
|
17
|
+
direction:rtl;
|
18
|
+
}
|
19
|
+
</style>
|
20
|
+
 <span class="cloaked-e-mail" data-user="{{ range $index := seq (sub (len $user) 1) 0}}{{ substr $user $index 1}}{{ end }}"{{ with $domain }} data-domain="{{ range $index := seq (sub (len $domain) 1) 0}}{{ substr $domain $index 1}}{{ end }}"{{ end }} id="span-{{ $fingerprint }}"></span> 
|
21
|
+
{{/* Alter display with JavaScript by changing DOM */}}
|
22
|
+
<script id="script-{{ $fingerprint }}">
|
23
|
+
var scriptTag = document.getElementById("script-{{ $fingerprint }}");
|
24
|
+
var link = document.createElement("a");
|
25
|
+
var address = "{{ range $index := seq (sub (len $user) 1) 0}}{{ substr $user $index 1}}{{ end }}".split('').reverse().join(''){{ with $domain }} + "@" + "{{ range $index := seq (sub (len $domain) 1) 0}}{{ substr $domain $index 1}}{{ end }}".split('').reverse().join(''){{ with $query }} + "?" + "{{ range $index := seq (sub (len $query) 1) 0}}{{ substr $query $index 1}}{{ end }}".split('').reverse().join(''){{ end }}{{ end }};
|
26
|
+
link.href = {{ $protocol }} + ":" + address;
|
27
|
+
{{ with $displaytext }}
|
28
|
+
link.innerText = {{ $displaytext }};
|
29
|
+
{{ else }}
|
30
|
+
link.innerText = address.split('?')[0];
|
31
|
+
{{ end }}
|
32
|
+
{{ with $class }}
|
33
|
+
link.className = "{{ $class }}";
|
34
|
+
{{ end }}
|
35
|
+
scriptTag.parentElement.insertBefore(link, scriptTag.previousElementSibling);
|
36
|
+
scriptTag.parentElement.removeChild(scriptTag.previousElementSibling)
|
37
|
+
</script>
|
38
|
+
{{/* The end */}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{{ now.Format "2006-01-02" }}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{{- /*
|
2
|
+
Usage: `example args`
|
3
|
+
|
4
|
+
`args` are all optional and can be one of the following:
|
5
|
+
* id: the `div`'s id - default: ""
|
6
|
+
* class: any extra class(es) to be added to the `div` - default: ""
|
7
|
+
* lang: language used to display the code - default: "html"
|
8
|
+
* show_markup: if the markup should be output in the HTML - default: `true`
|
9
|
+
* show_preview: if the preview should be output in the HTML - default: `true`
|
10
|
+
* stackblitz_add_js: if extra JS snippet should be added to StackBlitz - default: `false`
|
11
|
+
*/ -}}
|
12
|
+
|
13
|
+
{{- $id := .Get "id" -}}
|
14
|
+
{{- $class := .Get "class" -}}
|
15
|
+
{{- $lang := .Get "lang" | default "html" -}}
|
16
|
+
{{- $stackblitz_add_js := .Get "stackblitz_add_js" | default false -}}
|
17
|
+
{{- $show_markup := .Get "show_markup" | default true -}}
|
18
|
+
{{- $show_preview := .Get "show_preview" | default true -}}
|
19
|
+
{{- $input := .Inner -}}
|
20
|
+
{{- $content := .Inner -}}
|
21
|
+
|
22
|
+
<div class="bd-example-snippet bd-code-snippet border rounded border-opacity-10">
|
23
|
+
{{- if eq $show_preview true -}}
|
24
|
+
<div{{ with $id }} id="{{ . }}" {{ end }} class="bd-example m-0 border-0{{ with $class }} {{ . }}{{ end }}">
|
25
|
+
{{- $input -}}
|
26
|
+
</div>
|
27
|
+
{{- end -}}
|
28
|
+
|
29
|
+
{{- if eq $show_markup true -}}
|
30
|
+
{{- if eq $show_preview true -}}
|
31
|
+
<div class="d-flex align-items-center highlight-toolbar ps-3 pe-2 py-1 border-0 border-top border-bottom">
|
32
|
+
<small class="font-monospace text-body-secondary text-uppercase">{{- $lang -}}</small>
|
33
|
+
<div class="d-flex ms-auto">
|
34
|
+
<button type="button" class="btn-edit text-nowrap border-0" {{ with $stackblitz_add_js }}
|
35
|
+
data-sb-js-snippet="{{ $stackblitz_add_js }}" {{ end }} title="Try it on StackBlitz">
|
36
|
+
s
|
37
|
+
</button>
|
38
|
+
<button type="button" class="btn-clipboard mt-0 me-0 border-0" title="Copy to clipboard">
|
39
|
+
c
|
40
|
+
</button>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
{{- end -}}
|
44
|
+
|
45
|
+
{{- $content = replaceRE `<svg class="bd-placeholder-img(?:-lg)?(?: *?bd-placeholder-img-lg)? ?(.*?)".*?<\/svg>` `<img src="..." class="$1" alt="...">` $content -}}
|
46
|
+
{{- $content = replaceRE `<img class="bd-placeholder-img(?:-lg)?(?: *?bd-placeholder-img-lg)? ?(.*?)".*?>` `<img src="..." class="$1" alt="...">` $content -}}
|
47
|
+
{{- $content = replaceRE ` (class=" *?")` "" $content -}}
|
48
|
+
{{- highlight (trim $content "\n") $lang "" -}}
|
49
|
+
{{- end -}}
|
50
|
+
</div>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{{ $src := .Get "src" | }}
|
2
|
+
{{ $width := .Get "width" | default "100%" }}
|
3
|
+
{{ $tryautoheight := .Get "tryautoheight" | default true }}
|
4
|
+
{{ $style := .Get "style" | default "min-height:98vh; border:none;" }}
|
5
|
+
{{ $sandbox := .Get "sandbox" | default false }}
|
6
|
+
{{ $name := .Get "name" | default "iframe-name" }}
|
7
|
+
{{ $id := .Get "id" | default "iframe-id" }}
|
8
|
+
{{ $class := .Get "class" }}
|
9
|
+
{{ $sub := .Get "sub" | default "Your browser can not display embedded frames. You can access the embedded page via the following link:" }}
|
10
|
+
{{ with $src }}
|
11
|
+
{{ if $tryautoheight }}
|
12
|
+
<script>
|
13
|
+
function resizeIframe(iframe) {
|
14
|
+
iframe.height = iframe.contentWindow.document.body.scrollHeight + "px";
|
15
|
+
}
|
16
|
+
</script>
|
17
|
+
{{ end }}
|
18
|
+
<iframe id="{{ $id }}" {{ with $class }} class="{{ $class }}" {{ end }} src="{{ $src }}" width="{{ $width }}"
|
19
|
+
name="{{ $name }}" {{ with $style }} style="{{ $style | safeCSS }}" {{ end }}{{ if $tryautoheight }}
|
20
|
+
onload="resizeIframe(this)" {{ end }} referrerpolicy="no-referrer"
|
21
|
+
{{ if (eq $sandbox false)}}{{ else if (eq $sandbox true) }} sandbox{{ else }} sandbox="{{ $sandbox }}" {{ end }}>
|
22
|
+
<p>{{ $sub }} <a href="{{ $src }}">{{ $src }}</a></p>
|
23
|
+
</iframe>
|
24
|
+
{{ end }}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<p><img src="{{- .Get "src" -}}" class="{{.Get "class" }} img-fluid"
|
2
|
+
loading="{{- if .Get "loading" -}}auto{{ else }}lazy{{ end }}" {{if .Get "width" }} width="{{- .Get "width" -}}"
|
3
|
+
{{- end -}} {{if .Get "height" }} height="{{- .Get "height" -}}" {{- end -}} alt="{{- .Get "alt" -}}"></p>
|
4
|
+
{{- if .Get "dark" -}}
|
5
|
+
<style>
|
6
|
+
[data-bs-theme="dark"] img[src="{{- .Get "src" -}}"] {
|
7
|
+
content: url({{- .Get "dark" | lower -}});
|
8
|
+
}
|
9
|
+
</style>
|
10
|
+
{{- end -}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{{ .Inner | markdownify }}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{{ $color := .Get "color" | default "primary" }}
|
2
|
+
{{ $icon := .Get "icon" | default "info" }}
|
3
|
+
<div class="message message-{{ $color }} align-items-center">
|
4
|
+
{{- with .Get "icon" -}}<i class="modus-icons small notranslate me-2"
|
5
|
+
aria-hidden="true">{{- . | safeHTML | lower -}}</i>{{ end }}
|
6
|
+
{{- .Inner | markdownify -}}
|
7
|
+
</div>
|
@@ -0,0 +1 @@
|
|
1
|
+
{{ partial (.Get 0) }}
|