@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha26 → 1.0.0-alpha27
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.
@@ -5,13 +5,13 @@
|
|
5
5
|
h2 mt-5 {{- end -}}
|
6
6
|
{{- if (eq .Level 4 ) }}h4 fw-bold mt-3{{- end -}}{{ if eq .Anchor "use-when" }} text-success{{- end -}}{{ if eq .Anchor "dont-use-when" }} text-danger{{- end -}}">
|
7
7
|
{{ if eq .Anchor "use-when" }}
|
8
|
-
<svg
|
8
|
+
<svg width="18" height="18" fill="currentColor" class="mx-1 mb-1"
|
9
9
|
viewBox="0 0 24 24">
|
10
10
|
<path
|
11
11
|
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm5.56 7.74-6.39 6.4a1 1 0 0 1-1.42-.01l-3.3-3.34-.01-.01a.993.993 0 0 1 .01-1.4.996.996 0 0 1 1.41 0l2.6 2.62 5.68-5.69a.996.996 0 0 1 1.41 0v.02h.01c.39.39.39 1.02 0 1.41Z" />
|
12
12
|
</svg>{{- end -}}
|
13
13
|
{{- if eq .Anchor "dont-use-when" -}}
|
14
|
-
<svg
|
14
|
+
<svg width="18" height="18" fill="currentColor" class="mx-1 mb-1"
|
15
15
|
viewBox="0 0 24 24">
|
16
16
|
<path
|
17
17
|
d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2Zm4.3 14.3a.996.996 0 0 1-1.41 0L12 13.41 9.11 16.3a.996.996 0 1 1-1.41-1.41L10.59 12 7.7 9.11A.996.996 0 1 1 9.11 7.7L12 10.59l2.89-2.89a.996.996 0 1 1 1.41 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41Z" />
|
@@ -2,12 +2,6 @@
|
|
2
2
|
class="list-group d-block border-0 text-center sticky-top sticky-offset d-flex flex-column align-items-start justify-content-between">
|
3
3
|
|
4
4
|
<div class="mx-auto w-100">
|
5
|
-
<!--<button class="btn btn-lg btn-outline-secondary bg-transparent list-group-item border-0 mt-1 p-1 pt-0" type="button"
|
6
|
-
data-bs-target="#sidebar" data-bs-toggle="collapse" aria-label="Expand Menu">
|
7
|
-
<div class="text-body text-center">
|
8
|
-
{{ partial "icons/modus-solid/user-guide.svg" (dict "class" "" "width" "24" "height" "24") }}
|
9
|
-
</div>
|
10
|
-
</button>-->
|
11
5
|
</div>
|
12
6
|
|
13
7
|
<div>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
{{ end }}
|
28
28
|
|
29
29
|
<meta name="description"
|
30
|
-
content="{{ with .Description }}{{ . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
|
30
|
+
content="{{- with .Description -}}{{- . }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{- end -}}{{- end -}}">
|
31
31
|
|
32
32
|
<!-- OpenGraph Meta tags using Hugo's own built-in template -->
|
33
33
|
{{ template "_internal/opengraph.html" . }}
|
@@ -32,7 +32,7 @@
|
|
32
32
|
</div>
|
33
33
|
<div class="row">
|
34
34
|
<p class="ps-3 fw-bold text-primary">
|
35
|
-
Read More <svg
|
35
|
+
Read More <svg class="ms-1" width="6.3" height="9.8"
|
36
36
|
viewBox="0 0 6.3 9.8">
|
37
37
|
<g transform="translate(1.412 1.412)">
|
38
38
|
<path id="Path_627" data-name="Path 627" d="M18,18.965l3.889-3.482L18,12" transform="translate(-18 -12)"
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<svg
|
1
|
+
<svg width="115" height="26" class="img-fluid" viewBox="0 0 444.7 100">
|
2
2
|
<path d="M115.85 87.13v-62H93V11.21h62.57v14h-23v62z" fill="currentcolor" />
|
3
3
|
<path
|
4
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"
|
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-alpha27",
|
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": {
|
@@ -28,19 +28,19 @@
|
|
28
28
|
"svgo": "npx svgo --folder=\"static/img/icons/\""
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@trimble-oss/modus-bootstrap": "2.0.
|
32
|
-
"@trimble-oss/modus-icons": "1.15.0"
|
31
|
+
"@trimble-oss/modus-bootstrap": "^2.0.2",
|
32
|
+
"@trimble-oss/modus-icons": "^1.15.0"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
35
|
"autoprefixer": "10.4.20",
|
36
|
-
"eslint": "8.57.
|
36
|
+
"eslint": "8.57.1",
|
37
37
|
"eslint-config-prettier": "9.1.0",
|
38
38
|
"htmlhint": "1.1.4",
|
39
|
-
"hugo-bin": "0.
|
40
|
-
"postcss": "8.4.
|
39
|
+
"hugo-bin": "0.131.3",
|
40
|
+
"postcss": "8.4.47",
|
41
41
|
"postcss-cli": "11.0.0",
|
42
42
|
"prettier": "3.3.3",
|
43
|
-
"stylelint": "16.
|
43
|
+
"stylelint": "16.9.0",
|
44
44
|
"stylelint-config-standard-scss": "13.1.0",
|
45
45
|
"stylelint-order": "6.0.4"
|
46
46
|
},
|
@@ -57,6 +57,6 @@
|
|
57
57
|
"node": ">=18.0.0"
|
58
58
|
},
|
59
59
|
"volta": {
|
60
|
-
"node": "20.
|
60
|
+
"node": "20.17.0"
|
61
61
|
}
|
62
62
|
}
|