Skip to content

Commit d413137

Browse files
committed
Theme upgrade and config changes
1 parent 4bfcaa0 commit d413137

File tree

7 files changed

+39
-4
lines changed

7 files changed

+39
-4
lines changed

content/en/other/5-opentelemetry-collector/7-visualisation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ You can now see the host metrics for the host upon which you configured the Open
3939

4040
![participant-dashboard](../images/participant-dashboard.png)
4141

42-
{{% attachments sort="asc" style="info" title="Download Dashboard Group JSON for importing" /%}}
42+
{{% resources sort="asc" style="info" title="Download Dashboard Group JSON for importing" /%}}

content/en/scenarios/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Scenarios
33
weight: 4
4-
hidden: true
4+
hidden: false
55
---
66

77
{{% children containerstyle="div" style="h5" description="true" %}}

content/ja/other/opentelemetry-collector/7-visualisation/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ Splunk Observability Cloudにログインしたら、左側のナビゲーショ
4141

4242
これで、OpenTelemetry Collector を設定したホストの、ホストメトリクスを確認することができます。
4343

44-
{{% attachments sort="asc" style="info" title="ダッシュボードJSONのダウンロード方法" /%}}
44+
{{% resources sort="asc" style="info" title="ダッシュボードJSONのダウンロード方法" /%}}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/splunk/observability-workshop
22

33
go 1.19
44

5-
require github.com/McShelby/hugo-theme-relearn v0.0.0-20240224155253-7e83840a20d8 // indirect
5+
require github.com/McShelby/hugo-theme-relearn v0.0.0-20240229195155-8b46dae031c1 // indirect

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@ github.com/McShelby/hugo-theme-relearn v0.0.0-20231116235917-1f7a2aa19ae8 h1:2pz
5656
github.com/McShelby/hugo-theme-relearn v0.0.0-20231116235917-1f7a2aa19ae8/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM=
5757
github.com/McShelby/hugo-theme-relearn v0.0.0-20240224155253-7e83840a20d8 h1:Z1WhPDVPsoXWcgqZUlU8X71m3yQJ4HW0+/inZwoLt44=
5858
github.com/McShelby/hugo-theme-relearn v0.0.0-20240224155253-7e83840a20d8/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM=
59+
github.com/McShelby/hugo-theme-relearn v0.0.0-20240229195155-8b46dae031c1 h1:hAmQ1QYisNN/2LX8/F+9deQW47RSJVmkxKP0Vwopowk=
60+
github.com/McShelby/hugo-theme-relearn v0.0.0-20240229195155-8b46dae031c1/go.mod h1:mKQQdxZNIlLvAj8X3tMq+RzntIJSr9z7XdzuMomt0IM=

hugo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ defaultContentLanguage: en
88
defaultContentLanguageInSubdir: true
99
enableMissingTranslationPlaceholders: false
1010
enableRobotsTXT: true
11+
enableGitInfo: true
1112
module:
1213
imports:
1314
- path: github.com/McShelby/hugo-theme-relearn
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{{- $LastModifierDisplayName := "" }}
2+
{{- $LastModifierEmail := "" }}
3+
{{- $Date := "" }}
4+
{{- with .GitInfo }}
5+
{{- with .AuthorName }}
6+
{{- $LastModifierDisplayName = . }}
7+
{{- end }}
8+
{{- with .AuthorDate }}
9+
{{- $Date = . | time.Format ":date_medium" }}
10+
{{- end }}
11+
{{- else }}
12+
{{- with .Params.LastModifierDisplayName }}
13+
{{- $LastModifierDisplayName = . }}
14+
{{- end }}
15+
{{- with .Params.LastModifierEmail }}
16+
{{- $LastModifierEmail = . }}
17+
{{- end }}
18+
{{- with .Date }}
19+
{{- $Date = . | time.Format ":date_medium" }}
20+
{{- end }}
21+
{{- end }}
22+
{{- if $LastModifierDisplayName }}
23+
<i class='fas fa-user'></i> {{ with $LastModifierEmail }}<a href="mailto:{{ . }}">{{ end }}{{ $LastModifierDisplayName }}{{ with $LastModifierEmail }}</a>{{ end }}
24+
{{- with $Date }}
25+
<i class='fas fa-calendar'></i> {{ . }}
26+
{{- end }}
27+
{{- end }}
28+
{{- partial "term-list.html" (dict
29+
"page" .
30+
"taxonomy" "categories"
31+
"icon" "layer-group"
32+
) }}

0 commit comments

Comments
 (0)