@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha20 → 1.0.0-alpha21
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.
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="container mb-5">
|
2
2
|
<div class="share py-2 float-end">
|
3
3
|
<!-- <div class="d-inline-block me-2">
|
4
|
-
<a href="https://
|
4
|
+
<a href="https://x.com/intent/tweet?via=TrimbleCorpNews&text={{- .Title -}}&url={{- .Permalink -}}"
|
5
5
|
class="opacity-75" title="Share on X" data-bs-toggle="tooltip"
|
6
6
|
onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
|
7
7
|
{{ partial "icons/brands/square-x-twitter.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
|
@@ -36,7 +36,7 @@
|
|
36
36
|
{{ end }}
|
37
37
|
|
38
38
|
<!-- no need to define additional X (Twitter) card meta tags as fallback to Open Graph -->
|
39
|
-
<!-- https://developer.
|
39
|
+
<!-- https://developer.x.com/en/docs/twitter-for-websites/cards/guides/getting-started#twitter-cards-and-open-graph -->
|
40
40
|
|
41
41
|
{{- if .Params.private -}}
|
42
42
|
<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-alpha21",
|
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": {
|
@@ -26,19 +26,19 @@
|
|
26
26
|
"test": "npm run lint-css && npm run lint-html && npm run lint-js"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"@trimble-oss/modus-bootstrap": "2.0.0-
|
30
|
-
"@trimble-oss/modus-icons": "1.
|
29
|
+
"@trimble-oss/modus-bootstrap": "2.0.0-alpha24",
|
30
|
+
"@trimble-oss/modus-icons": "1.14.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
33
|
"autoprefixer": "10.4.19",
|
34
34
|
"eslint": "8.57.0",
|
35
35
|
"eslint-config-prettier": "9.1.0",
|
36
36
|
"htmlhint": "1.1.4",
|
37
|
-
"hugo-bin": "0.
|
37
|
+
"hugo-bin": "0.123.1",
|
38
38
|
"postcss": "8.4.38",
|
39
39
|
"postcss-cli": "11.0.0",
|
40
40
|
"prettier": "3.2.5",
|
41
|
-
"stylelint": "16.
|
41
|
+
"stylelint": "16.5.0",
|
42
42
|
"stylelint-config-standard-scss": "13.1.0",
|
43
43
|
"stylelint-order": "6.0.4"
|
44
44
|
},
|
package/layouts/sitemap.xml
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
2
|
-
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
3
|
-
{{- range .Data.Pages -}}{{ if ne .Params.sitemap_exclude true }}
|
4
|
-
<url><loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
|
5
|
-
<lastmod>{{ safeHTML (.Lastmod.Format "2006-01-02T15:04:05-07:00") }}</lastmod>{{ end }}
|
6
|
-
</url>{{- end -}}
|
7
|
-
{{- end -}}
|
8
|
-
</urlset>
|