Skip to content

Commit 1028e61

Browse files
Update footer
1 parent 67c3e7d commit 1028e61

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

data/en/project.yaml

+12-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,18 @@ logo:
1313
favicon: "/images/site/favicon.png"
1414

1515
projectInfo:
16-
github: https://github.com/vmware-tanzu-labs/educates-training-platform
17-
github-org: https://github.com/educates
18-
slack: slack.educates.dev
19-
docs: https://docs.educates.dev
16+
github:
17+
url: https://github.com/vmware-tanzu-labs/educates-training-platform
18+
text: "Educates Training Platform"
19+
github-org:
20+
url: https://github.com/educates
21+
text: "Educates GitHub Organisation"
22+
slack:
23+
url: https://kubernetes.slack.com/archives/C05UWT4SKRV
24+
text: Educates Channel in Kubernetes Slack
25+
docs:
26+
link: https://docs.educates.dev
27+
text: "Educates Documentation"
2028

2129
maintainers:
2230
- name: "Graham Dumpleton"

layouts/partials/footer.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -102,24 +102,24 @@ <h5>{{ i18n "useful_links" }}</h5>
102102
<ul>
103103
{{ range $key,$value:= $project.projectInfo }}
104104
{{ if (eq $key "email") }}
105-
<li><a href={{ printf "mailto:%s" $value }} target="_blank" rel="noopener">
106-
<span><i class="fas fa-envelope"></i></span> <span>{{ $value }}</span>
105+
<li><a href={{ printf "mailto:%s" $value.url }} target="_blank" rel="noopener">
106+
<span><i class="fas fa-envelope"></i></span> <span>{{ $value.text }}</span>
107107
</a></li>
108108
{{ else if (eq $key "docs") }}
109-
<li><a href={{ printf "%s" $value }} target="_blank" rel="noopener">
110-
<span><i class="fa-solid fa-book"></i></span> <span>{{ $value }}</span>
109+
<li><a href={{ printf "%s" $value.url }} target="_blank" rel="noopener">
110+
<span><i class="fa-solid fa-book"></i></span> <span>{{ $value.text }}</span>
111111
</a></li>
112112
{{ else if (eq $key "slack") }}
113-
<li><a href={{ printf "%s" $value }} target="_blank" rel="noopener">
114-
<span><i class="fab fa-slack"></i></span> <span>{{ $value }}</span>
113+
<li><a href={{ printf "%s" $value.url }} target="_blank" rel="noopener">
114+
<span><i class="fab fa-slack"></i></span> <span>{{ $value.text }}</span>
115115
</a></li>
116116
{{ else if (eq $key "github-org") }}
117-
<li><a href={{ printf "%s" $value }} target="_blank" rel="noopener">
118-
<span><i class="fab fa-github"></i></span> <span>{{ $value }}</span>
117+
<li><a href={{ printf "%s" $value.url }} target="_blank" rel="noopener">
118+
<span><i class="fab fa-github"></i></span> <span>{{ $value.text }}</span>
119119
</a></li>
120120
{{ else if (eq $key "github") }}
121-
<li><a href={{ printf "%s" $value }} target="_blank" rel="noopener">
122-
<span><i class="fab fa-github"></i></span> <span>{{ $value }}</span>
121+
<li><a href={{ printf "%s" $value.url }} target="_blank" rel="noopener">
122+
<span><i class="fab fa-github"></i></span> <span>{{ $value.text }}</span>
123123
</a></li>
124124
{{ else if reflect.IsMap $value }}
125125
<li>

0 commit comments

Comments
 (0)