@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha30 → 1.0.0-alpha32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/menu.yml +1 -0
- package/data/navbar_apps.yml +1 -0
- package/layouts/{partials → _partials}/blog-share.html +0 -7
- package/layouts/{partials → _partials}/meta.html +4 -8
- package/package.json +14 -14
- /package/layouts/{_default/_markup → _markup}/render-heading.html +0 -0
- /package/layouts/{_default/_markup → _markup}/render-image.html +0 -0
- /package/layouts/{_default/_markup → _markup}/render-link.html +0 -0
- /package/layouts/{partials → _partials}/analytics.html +0 -0
- /package/layouts/{partials → _partials}/blog-brief.html +0 -0
- /package/layouts/{partials → _partials}/card-component.html +0 -0
- /package/layouts/{partials → _partials}/col-sidebar-menu.html +0 -0
- /package/layouts/{partials → _partials}/custom-footer.html +0 -0
- /package/layouts/{partials → _partials}/custom-header.html +0 -0
- /package/layouts/{partials → _partials}/footer.html +0 -0
- /package/layouts/{partials → _partials}/header.html +0 -0
- /package/layouts/{partials → _partials}/icons/brands/codepen.svg +0 -0
- /package/layouts/{partials → _partials}/icons/brands/facebook-square.svg +0 -0
- /package/layouts/{partials → _partials}/icons/brands/github-alt.svg +0 -0
- /package/layouts/{partials → _partials}/icons/brands/github.svg +0 -0
- /package/layouts/{partials → _partials}/icons/brands/linkedin.svg +0 -0
- /package/layouts/{partials → _partials}/icons/brands/square-x-twitter.svg +0 -0
- /package/layouts/{partials → _partials}/icons/brands/vimeo-square.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/accessibility-circle.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/arrow-up.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/bar-graph-square.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/code.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/launch.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/menu.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/more-vertical.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/person-account.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/search.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/sync.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/thumbs-down.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/thumbs-up.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-outlined/web.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/apps.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/code.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/email.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/menu.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/palette.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/thumbs-down.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/thumbs-up.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/trimble-logo.svg +0 -0
- /package/layouts/{partials → _partials}/icons/modus-solid/user-guide.svg +0 -0
- /package/layouts/{partials → _partials}/icons/navbar-toggler-icon.svg +0 -0
- /package/layouts/{partials → _partials}/icons/transportation/truck.svg +0 -0
- /package/layouts/{partials → _partials}/index/list-blog-brief.html +0 -0
- /package/layouts/{partials → _partials}/logos/trimble.svg +0 -0
- /package/layouts/{partials → _partials}/menu-right.html +0 -0
- /package/layouts/{partials → _partials}/navbar-dropdown.html +0 -0
- /package/layouts/{partials → _partials}/navbar-search.html +0 -0
- /package/layouts/{partials → _partials}/navbar-theme-toggle.html +0 -0
- /package/layouts/{partials → _partials}/navbar.html +0 -0
- /package/layouts/{partials → _partials}/related-content.html +0 -0
- /package/layouts/{partials → _partials}/skippy.html +0 -0
- /package/layouts/{partials → _partials}/trimble-logo.html +0 -0
- /package/layouts/{partials → _partials}/was-this-page-helpful.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/alert.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/blocks/cover.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/blocks/feature.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/blocks/link-down.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/blocks/section.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/checklist.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/cloakemail.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/date-today.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/example.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/iframe.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/img.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/markdown.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/message.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/partial.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/tab.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/table.html +0 -0
- /package/layouts/{shortcodes → _shortcodes}/tabpane.html +0 -0
- /package/layouts/{_default/baseof.html → baseof.html} +0 -0
- /package/layouts/{_default/home.html → home.html} +0 -0
- /package/layouts/{_default/list.html → list.html} +0 -0
- /package/layouts/{_default/redirect.html → redirect.html} +0 -0
- /package/layouts/{_default/single.html → single.html} +0 -0
package/data/menu.yml
CHANGED
package/data/navbar_apps.yml
CHANGED
@@ -1,12 +1,5 @@
|
|
1
1
|
<div class="container mb-5">
|
2
2
|
<div class="share py-2 float-end">
|
3
|
-
<!-- <div class="d-inline-block me-2">
|
4
|
-
<a href="https://x.com/intent/tweet?via=TrimbleCorpNews&text={{- .Title -}}&url={{- .Permalink -}}"
|
5
|
-
class="opacity-75" title="Share on X" data-bs-toggle="tooltip"
|
6
|
-
onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
|
7
|
-
{{ partial "icons/brands/square-x-twitter.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
|
8
|
-
<span class="visually-hidden">X</span></a>
|
9
|
-
</div> -->
|
10
3
|
<div class="d-inline-block me-2">
|
11
4
|
<a href="https://www.facebook.com/sharer.php?u={{- .Permalink -}}" class="opacity-75" title="Share on Facebook"
|
12
5
|
data-bs-toggle="tooltip" data-bs-placement="top"
|
@@ -16,9 +16,11 @@
|
|
16
16
|
<link rel="stylesheet" href="{{ $styles.RelPermalink }}?v{{- hugo.Version -}}">
|
17
17
|
|
18
18
|
<!-- Load jQuery from CDN with fallback -->
|
19
|
-
<script src="https://cdn.jsdelivr.net/npm/jquery@
|
20
|
-
<script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-
|
19
|
+
<script src="https://cdn.jsdelivr.net/npm/jquery@4.0.0-beta.2/dist/jquery.min.js"></script>
|
20
|
+
<script>window.jQuery || document.write('<script src="https://code.jquery.com/jquery-4.0.0-beta.2.min.js"><\/script>');</script>
|
21
|
+
{{- if .Site.Params.includeModusIconFonts }}
|
21
22
|
<link rel="stylesheet" href="{{- .Site.BaseURL -}}fonts/modus-icons.css">
|
23
|
+
{{- end }}
|
22
24
|
|
23
25
|
{{- if not .Site.Params.disableThemeToggle -}}
|
24
26
|
<!-- Loads Dark Mode Toggle JS -->
|
@@ -31,12 +33,6 @@
|
|
31
33
|
|
32
34
|
<!-- OpenGraph Meta tags using Hugo's own built-in template -->
|
33
35
|
{{ template "_internal/opengraph.html" . }}
|
34
|
-
{{ if eq $.Site.Language.Lang "en-US" }}
|
35
|
-
<meta property="og:locale" content="en_US">
|
36
|
-
{{ end }}
|
37
|
-
|
38
|
-
<!-- no need to define additional X (Twitter) card meta tags as fallback to Open Graph -->
|
39
|
-
<!-- https://developer.x.com/en/docs/twitter-for-websites/cards/guides/getting-started#twitter-cards-and-open-graph -->
|
40
36
|
|
41
37
|
{{- if .Params.private -}}
|
42
38
|
<meta name="robots" content="noindex, nofollow">
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@trimble-oss/modus-docs-hugo-theme",
|
3
|
-
"version": "1.0.0-
|
3
|
+
"version": "1.0.0-alpha32",
|
4
4
|
"description": "A Documentation theme for Hugo built by Trimble",
|
5
5
|
"homepage": "https://github.com/trimble-oss/modus-docs-hugo-theme",
|
6
6
|
"bugs": {
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"scripts": {
|
16
16
|
"build": "npx hugo",
|
17
17
|
"lint": "npm run lint-css && npm run lint-html && npm run lint-js",
|
18
|
-
"lint-css": "stylelint \"assets/css/*.*\" --fix",
|
18
|
+
"lint-css": "stylelint \"assets/css/*.*\" --fix -f verbose",
|
19
19
|
"lint-html": "htmlhint \"build/**/index.html\"",
|
20
20
|
"lint-js": "eslint assets/js/*.js --fix",
|
21
21
|
"lint-links": "npx linkinator ./public --recurse --silent",
|
@@ -28,21 +28,21 @@
|
|
28
28
|
"svgo": "npx svgo --folder=\"static/img/icons/\""
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@trimble-oss/modus-bootstrap": "^2.0.
|
31
|
+
"@trimble-oss/modus-bootstrap": "^2.0.10",
|
32
32
|
"@trimble-oss/modus-icons": "^1.16.0"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"autoprefixer": "10.4.
|
35
|
+
"autoprefixer": "10.4.21",
|
36
36
|
"eslint": "8.57.1",
|
37
|
-
"eslint-config-prettier": "
|
37
|
+
"eslint-config-prettier": "10.1.5",
|
38
38
|
"htmlhint": "1.1.4",
|
39
|
-
"hugo-bin": "0.
|
40
|
-
"postcss": "8.5.
|
41
|
-
"postcss-cli": "11.0.
|
42
|
-
"prettier": "3.
|
43
|
-
"stylelint": "16.
|
44
|
-
"stylelint-config-standard-scss": "
|
45
|
-
"stylelint-order": "
|
39
|
+
"hugo-bin": "0.144.2",
|
40
|
+
"postcss": "8.5.3",
|
41
|
+
"postcss-cli": "11.0.1",
|
42
|
+
"prettier": "3.5.3",
|
43
|
+
"stylelint": "16.19.1",
|
44
|
+
"stylelint-config-standard-scss": "15.0.0",
|
45
|
+
"stylelint-order": "7.0.0"
|
46
46
|
},
|
47
47
|
"hugo-bin": {
|
48
48
|
"buildTags": "extended"
|
@@ -54,9 +54,9 @@
|
|
54
54
|
"static"
|
55
55
|
],
|
56
56
|
"engines": {
|
57
|
-
"node": ">=
|
57
|
+
"node": ">=22.0.0"
|
58
58
|
},
|
59
59
|
"volta": {
|
60
|
-
"node": "
|
60
|
+
"node": "22.0.0"
|
61
61
|
}
|
62
62
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|