Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/st-wong/hugo-spectre-pixel-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/profile.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html
index 6a7317f..9932c8e 100644
--- a/layouts/partials/profile.html
+++ b/layouts/partials/profile.html
@@ -3,7 +3,7 @@
<img id="profile">
</a>
<div class="my-2 py-2">
- <h3>{{ .Site.Params.name }} <span class="text-clip">[ {{ .Site.Params.altName }} ]</span></h3>
+ <h3>{{ .Site.Params.name }} {{ if .Site.Params.altName }}<span class="text-clip">[ {{ .Site.Params.altName }} ]</span>{{ end }}</h3>
<h5 class="text-gray text-italic">{{ .Site.Params.bio | markdownify }}</h5>
</div>
</header>