diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.toml | 17 | ||||
| -rw-r--r-- | docs/go.mod | 5 | ||||
| -rw-r--r-- | docs/go.sum | 6 | ||||
| -rw-r--r-- | docs/layouts/partials/custom-footer.html | 6 |
4 files changed, 21 insertions, 13 deletions
diff --git a/docs/config.toml b/docs/config.toml index 71e691bf..3b28b4b4 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -1,14 +1,11 @@ baseURL = "/" languageCode = "en-us" title = "gomplate documentation" -theme = "hugo-theme-relearn" -googleAnalytics = "UA-82637990-3" +# theme = "hugo-theme-relearn" [params] alwaysopen = false editURL = "https://github.com/hairyhenderson/gomplate/edit/main/docs/content/" - author = "hairyhenderson" - description = "gomplate documentation" showVisitedLinks = false disableSearch = false disableSearchHiddenPages = false @@ -35,6 +32,9 @@ googleAnalytics = "UA-82637990-3" disableExplicitIndexURLs = true externalLinkTarget = "_blank" +[params.author] + name = "hairyhenderson" + [markup] [markup.highlight] guessSyntax = false @@ -43,9 +43,6 @@ googleAnalytics = "UA-82637990-3" [outputs] home = [ "HTML", "RSS", "SEARCH", "SEARCHPAGE"] -[privacy] - [privacy.googleAnalytics] - disable = false - anonymizeIP = true - respectDoNotTrack = true - useSessionStorage = false +[module] + [[module.imports]] + path = 'github.com/McShelby/hugo-theme-relearn' diff --git a/docs/go.mod b/docs/go.mod new file mode 100644 index 00000000..11478eb8 --- /dev/null +++ b/docs/go.mod @@ -0,0 +1,5 @@ +module github.com/hairyhenderson/gomplate/docs + +go 1.22.4 + +require github.com/McShelby/hugo-theme-relearn v0.0.0-20231029175538-7ae1435626d7 // 0.53.0 diff --git a/docs/go.sum b/docs/go.sum new file mode 100644 index 00000000..c0fb4205 --- /dev/null +++ b/docs/go.sum @@ -0,0 +1,6 @@ +github.com/McShelby/hugo-theme-relearn v0.0.0-20231029175538-7ae1435626d7 h1:dQ2UVtAGY3OFJnDN02uac5bjpczbgJcmhXnHv0QifG0= +github.com/McShelby/hugo-theme-relearn v0.0.0-20231029175538-7ae1435626d7/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM= +github.com/McShelby/hugo-theme-relearn v0.0.0-20240217004058-fe7f9a8764e3 h1:fpEagigEo9/AvC+90KuNMaF8Z8+Lg2rnEK6K7Ee/2WU= +github.com/McShelby/hugo-theme-relearn v0.0.0-20240217004058-fe7f9a8764e3/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM= +github.com/McShelby/hugo-theme-relearn v0.0.0-20240407214931-4391760c8bc1 h1:/SWuiqok8gDIkmBizkUBp6c3Y87JocRaukkzSUEDu+8= +github.com/McShelby/hugo-theme-relearn v0.0.0-20240407214931-4391760c8bc1/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM= diff --git a/docs/layouts/partials/custom-footer.html b/docs/layouts/partials/custom-footer.html index 27f17922..f3e715b3 100644 --- a/docs/layouts/partials/custom-footer.html +++ b/docs/layouts/partials/custom-footer.html @@ -1,8 +1,8 @@ -{{ template "_internal/google_analytics.html" . }} <script> (function () { var webSdkScript = document.createElement("script"); - webSdkScript.src = "https://unpkg.com/@grafana/faro-web-sdk@^1.0.0/dist/bundle/faro-web-sdk.iife.js"; + webSdkScript.src = "https://unpkg.com/@grafana/faro-web-sdk@^1.4.0/dist/bundle/faro-web-sdk.iife.js"; + webSdkScript.onload = () => { window.GrafanaFaroWebSdk.initializeFaro({ url: "https://faro-collector-prod-us-central-0.grafana.net/collect/d8b5652f5dd57fb1cfec9a1c32970fe0", @@ -17,7 +17,7 @@ // This is important because we need to ensure that the Web-SDK has been loaded and initialized before we add further instruments! var webTracingScript = document.createElement("script"); - webTracingScript.src = "https://unpkg.com/@grafana/faro-web-tracing@^1.0.0/dist/bundle/faro-web-tracing.iife.js"; + webTracingScript.src = "https://unpkg.com/@grafana/faro-web-tracing@^1.4.0/dist/bundle/faro-web-tracing.iife.js"; // Initialize, configure (if necessary) and add the the new instrumentation to the already loaded and configured Web-SDK. webTracingScript.onload = () => { |
