Skip to content

Commit 976c1cb

Browse files
authored
Merge pull request #2 from nginxinc/use-local-files
feat: Use local files
2 parents ba7d518 + f58bad5 commit 976c1cb

30 files changed

+8034
-1390
lines changed

assets/css/kube.css

Lines changed: 0 additions & 1308 deletions
This file was deleted.

assets/fontawesome/css/all.css

Lines changed: 7955 additions & 0 deletions
Large diffs are not rendered by default.

assets/fontawesome/css/all.min.css

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/fontawesome/css/v4-font-face.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/fontawesome/css/v4-shims.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/fontawesome/css/v5-font-face.min.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/all.min.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

assets/js/jquery-3-6-4.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/nginxinc/nginx-hugo-theme
2+
3+
go 1.19

layouts/_default/baseof.html

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,35 @@
44
<head>
55
{{ block "head" . }}
66

7-
{{ partial "meta.html" . }}
7+
{{ partial "meta.html" . }}
88

9-
{{ partial "favicon.html" . }}
9+
{{ partial "favicon.html" . }}
1010

11-
{{ partial "styles.html" . }}
11+
{{ partial "styles.html" . }}
1212

13-
{{ if in .Params.doctypes "devportal" }}
14-
{{ partial "devportal/style.html" . }}
15-
{{ end }}
16-
17-
{{ if fileExists "/layouts/partials/head_custom.html" }}
18-
{{ partial "head_custom.html" . }}
19-
{{ end }}
13+
{{ if in .Params.doctypes "devportal" }}
14+
{{ partial "devportal/style.html" . }}
15+
{{ end }}
2016

21-
{{ partial "load_jquery.html" . }}
17+
{{ if fileExists "/layouts/partials/head_custom.html" }}
18+
{{ partial "head_custom.html" . }}
19+
{{ end }}
2220

23-
{{ if or ( not .Site.IsServer ) ( not ( in .Site.Params.buildtype "package" ) ) }}
21+
{{ if or ( not .Site.IsServer ) ( not ( in .Site.Params.buildtype "package" ) ) }}
2422

25-
{{ partial "trustarc.html" . }}
23+
{{ partial "trustarc.html" . }}
2624

27-
{{ partial "tealium-profile.html" . }}
25+
{{ partial "tealium-profile.html" . }}
2826

29-
{{ end }}
27+
{{ end }}
3028

3129
{{ end }}
3230

3331
</head>
3432

3533
<body>
3634
{{ if or ( not .Site.IsServer ) ( not ( in .Site.Params.buildtype "package" ) ) }}
37-
{{ partial "universal-tag.html" . }}
35+
{{ partial "universal-tag.html" . }}
3836
{{ end }}
3937

4038
<header>

0 commit comments

Comments
 (0)