@@ -102,24 +102,24 @@ <h5>{{ i18n "useful_links" }}</h5>
102
102
< ul >
103
103
{{ range $key,$value:= $project.projectInfo }}
104
104
{{ 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 >
107
107
</ a > </ li >
108
108
{{ 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 >
111
111
</ a > </ li >
112
112
{{ 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 >
115
115
</ a > </ li >
116
116
{{ 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 >
119
119
</ a > </ li >
120
120
{{ 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 >
123
123
</ a > </ li >
124
124
{{ else if reflect.IsMap $value }}
125
125
< li >
0 commit comments