diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-15 11:48:32 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-15 11:48:32 +0200 |
| commit | 3ba00d4b693f502ba3546103012f7b700286ff7d (patch) | |
| tree | 98d021a0f74555b1d28e96c3128ec273bfdddfb0 /layouts/partials | |
| parent | 5344a15889ee292cd0082bae63f847d7d9a27b84 (diff) | |
| download | gohugo-theme-ed-3ba00d4b693f502ba3546103012f7b700286ff7d.tar.gz | |
Rework humans.txt generation
Diffstat (limited to 'layouts/partials')
| -rw-r--r-- | layouts/partials/team-member.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/team-member.html b/layouts/partials/team-member.html index 917e97f..f425f33 100644 --- a/layouts/partials/team-member.html +++ b/layouts/partials/team-member.html @@ -1,5 +1,5 @@ - Author: {{ .Name }} - Contact: {{ .Email }} - GitHub: {{ .Github }} - From: {{ .Location }} + Author: {{ .context.Name | default "-" }} + Contact: {{ .context.Email | default "-" }} + GitHub: {{ .context.GitHub | default "-" }} + From: {{ .context.Location | default "-" }} |
