Skip to content

Commit

Permalink
Update to Hugo v0.120.3 (#328)
Browse files Browse the repository at this point in the history
+ plus minor fixes
  • Loading branch information
coliff authored Nov 2, 2023
1 parent 4257ffa commit 011d98d
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*.json @coliff @nspringer-trimble
*.md @coliff
*.scss @coliff
*.svg @coliff @egunther39 @soniakaukonen
*.svg @coliff @egunther39
*.yml @coliff

## Folders
Expand Down
2 changes: 1 addition & 1 deletion app-components/preview/app-components.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app-components/src/app/search/search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h5 class="mb-0 text-gray-4">
"></use>
</svg>
<h5 class="me-2 mb-0 small">{{ item.displayName }}</h5>
<label class="mb-0 me-4 fw-normal small opacity-50">{{ item.tags }}</label>
<label class="d-none d-lg-block mb-0 me-4 fw-normal small opacity-50">{{ item.tags }}</label>
<label class="mb-0 ms-auto text-secondary opacity-75 small">{{
item.setDisplayName
}}</label>
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/app-components.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/layouts/modus-outlined/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ <h2>Examples</h2>
<div>
<nav class="navbar nav navbar-blue navbar-expand-sm modus-header px-2">
<a href="#navbar-example" class="navbar-brand me-auto ms-2">
<img src="https://modus-bootstrap.trimble.com/img/trimble-logo-rev.svg" width="107" height="25"
class="img-fluid d-none d-sm-block" alt="home">

{{- partial "logos/trimble.svg" (dict "class" "img-fluid d-none d-sm-block" "width" "107" "height" "25") -}}

<img src="/{{ .Section | urlize }}/svg/trimble-logo.svg" class="d-block d-sm-none filter-invert" height="28"
width="28" alt="home">
</a>
Expand Down
3 changes: 1 addition & 2 deletions docs/layouts/modus-solid/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ <h2>Examples</h2>
<div>
<nav class="navbar nav navbar-blue navbar-expand-sm modus-header px-2">
<a href="#navbar-example" class="navbar-brand me-auto ms-2">
<img src="https://modus-bootstrap.trimble.com/img/trimble-logo-rev.svg" width="107" height="25"
class="img-fluid d-none d-sm-block" alt="home">
{{- partial "logos/trimble.svg" (dict "class" "img-fluid d-none d-sm-block" "width" "107" "height" "25") -}}
<img src="/{{ .Section | urlize }}/svg/trimble-logo.svg" class="d-block d-sm-none filter-invert" height="28"
width="28" alt="home">
</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="container">
<div class="row pt-2">
<div class="col-12 mb-3 mt-1">
{{- partial "logos/trimble.svg" (dict "class" "img-fluid d-none d-sm-inline-block mb-2 mr-1" "width" "107" "height" "25") -}}
{{- partial "logos/trimble.svg" (dict "class" "img-fluid d-none d-sm-inline-block mb-2 me-1" "width" "107" "height" "25") -}}
</div>
</div>

Expand Down
2 changes: 0 additions & 2 deletions docs/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
{{ $themeToggleJS := slice $themeToggle | resources.Concat "js/theme-toggle.js" | resources.Minify }}
<script src="{{- $themeToggleJS.RelPermalink -}}"></script>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>

{{ partial "stylesheet" . }}

<meta name="description"
Expand Down
4 changes: 2 additions & 2 deletions docs/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="navbar navbar-main navbar-expand navbar-blue" aria-label="main navigation">
<div class="container-fluid flex-row justify-content-end">
<a class="navbar-brand mr-auto me-md-auto fw-bold" href="/">
<!-- {{- partial "icons/trimble.svg" (dict "class" "d-inline-block d-sm-none mb-1 mr-1" "width" "25" "height" "25") -}} -->
<a class="navbar-brand me-auto me-md-auto fw-bold" href="/">
<!-- {{- partial "icons/trimble.svg" (dict "class" "d-inline-block d-sm-none mb-1 me-1" "width" "25" "height" "25") -}} -->
{{ partial "logos/trimble.svg" (dict "class" "img-fluid" "width" "115" "height" "26") }}
<div class="text-white h2 d-none d-md-block float-end mb-0 ms-2">
Modus Icons
Expand Down
3 changes: 1 addition & 2 deletions docs/layouts/transportation/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ <h2>Examples</h2>
<div>
<nav class="navbar nav navbar-blue navbar-expand-sm modus-header px-2">
<a href="#navbar-example" class="navbar-brand me-auto ms-2">
<img src="https://modus-bootstrap.trimble.com/img/trimble-logo-rev.svg" width="107" height="25"
class="img-fluid d-none d-sm-block" alt="home">
{{- partial "logos/trimble.svg" (dict "class" "img-fluid d-none d-sm-block" "width" "107" "height" "25") -}}
<img src="/{{- .Section | urlize -}}/svg/trimble-logo.svg" class="d-block d-sm-none filter-invert" height="28"
width="28" alt="home">
</a>
Expand Down
2 changes: 1 addition & 1 deletion hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module:
target: static/transportation-icons.svg
- source: dist/modus-solid/fonts/
target: static/fonts/
- source: node_modules/bootstrap/dist/js/bootstrap.bundle.min.js
- source: node_modules/@trimble-oss/modus-bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js
target: assets/js/vendor/bootstrap.bundle.min.js
- source: node_modules/clipboard/dist/clipboard.min.js
target: assets/js/vendor/clipboard.min.js
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"fs-extra": "11.1.1",
"handlebars": "4.7.8",
"htmlhint": "1.1.4",
"hugo-bin": "0.116.2",
"hugo-bin": "0.116.3",
"icon-font-generator": "2.1.11",
"lockfile-lint": "4.12.1",
"lodash": "4.17.21",
Expand Down
4 changes: 0 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module.exports = {
'border',
'border-0',
'border-bottom',
'border-right',
'breadcrumb',
'bs-popover-auto',
'bs-popover-top',
Expand Down Expand Up @@ -103,8 +102,6 @@ module.exports = {
'flex-nowrap',
'flex-sm-row',
'flex-xl-row',
'float-left',
'float-right',
'fw-bold',
'footer',
'form-check',
Expand Down Expand Up @@ -233,7 +230,6 @@ module.exports = {
'text-danger',
'text-decoration-none',
'text-light',
'text-md-left',
'text-muted',
'text-primary',
'text-sm-right',
Expand Down

0 comments on commit 011d98d

Please sign in to comment.