Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ canonifyURLs = true
# Disable, it makes problems with Netlify (missing internal redirect .../path -> .../path/)
# relativeURLs = true

disableKinds = ["taxonomy", "taxonomyTerm"]
disableKinds = ["taxonomy"]

# Highlighting config
pygmentsCodeFences = true
Expand Down
2 changes: 1 addition & 1 deletion docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cascade:
- type: "docs"
toc_root: true
_target:
path: "/_index.md"
path: "/"

---
GoodData Documentation Theme extends and overrides [Docsy](https://www.docsy.dev/) theme for [Hugo](https://gohugo.io/) static site generator. It provides ont only GoodData-branded styling but also some additional functionality, like support for custom versioning scheme, translated documentation and Redocly API refernces.
Expand Down
5 changes: 0 additions & 5 deletions layouts/docs/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,5 @@ <h1>{{ .Title }}</h1>
{{ end }}

{{ partial "prev-next-pages.html" . }}

{{ if (.Site.DisqusShortname) }}
<br />
{{ partial "disqus-comment.html" . }}
{{ end }}
</div>
{{ end }}
5 changes: 0 additions & 5 deletions layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,5 @@ <h1>{{.Title}}</h1>
{{ end }}

{{ partial "prev-next-pages.html" . }}

{{ if (.Site.DisqusShortname) }}
<br/>
{{ partial "disqus-comment.html" . }}
{{ end }}
</div>
{{ end }}
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{/* (C) 2023 GoodData Corporation */}}
{{ $footer := getJSON "https://www.gooddata.com/learn-assets/js/footer-definition.json" }}
{{ $footer := resources.GetRemote "https://www.gooddata.com/learn-assets/js/footer-definition.json" | transform.Unmarshal }}
{{ if not .Site.Params.whitelabeled }}

<footer class="gd-footer">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/head-css.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{/* (C) 2023 GoodData Corporation */}}
{{ $scssMain := "scss/main.scss"}}
{{ if .Site.IsServer }}
{{ if hugo.IsServer }}
{{/* Note the missing postCSS. This makes it snappier to develop in Chrome, but makes it look sub-optimal in other browsers. */}}
{{ $css := resources.Get $scssMain | toCSS (dict "enableSourceMap" true) }}
<link href="{{ $css.RelPermalink }}" rel="stylesheet">
Expand Down
16 changes: 8 additions & 8 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
@@ -1,7 +1,7 @@
{
"dependencies": {
"autoprefixer": "^10.4.14",
"hugo-extended": "^0.115.4",
"hugo-extended": "^0.145.0",
"postcss": "^8.4.27",
"postcss-cli": "^10.1.0"
},
Expand Down