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:
authorst-wong <shintatt.wong@gmail.com>2019-10-12 10:30:37 +0300
committerst-wong <shintatt.wong@gmail.com>2019-10-12 10:30:37 +0300
commit219ea80b97857a3f820848b17980fe081d40e707 (patch)
treead9606d9d51ee2b4e8f876ef90268c92fc774fae
parentb9a1adbac16189f1949361be32ee0482f6c3e223 (diff)
Make altName optionalHEADmaster
-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>