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

github.com/themefisher/parsa-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2020-12-29 12:53:56 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2020-12-29 12:53:56 +0300
commite5d1fbd19fa130d40e6e5cf027d4ff13e01a7d9d (patch)
treeaad37e03811ba409ac519891d1a95a07aebfae81
parent836daa6b6b40a98ad6508af31e0a16e43c48a36d (diff)
parent91f83d9d6af35186ba9e2e1cb21c93678a5823df (diff)
Merge branch 'master' of https://github.com/themefisher/parsa-hugo into master
-rw-r--r--layouts/partials/footer.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 9ffbbe9..f3acde5 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -6,17 +6,25 @@
<a href="{{site.BaseURL}}"><img src="{{site.Params.logo | absURL }}" alt="{{site.Title}}" class="img-fluid"></a>
</div>
<div class="col-md-3 col-sm-6 mb-4 mb-md-0">
+ {{ if .Site.Params.address }}
<h6>Address</h6>
<ul class="list-unstyled">
<li class="font-secondary text-dark">{{site.Params.address | markdownify }}</li>
</ul>
+ {{ end }}
</div>
<div class="col-md-3 col-sm-6 mb-4 mb-md-0">
+ {{ if or .Site.Params.mobile .Site.Params.email }}
<h6>Contact Info</h6>
<ul class="list-unstyled">
- <li class="font-secondary text-dark">Tel : {{ site.Params.mobile | markdownify }}</li>
- <li class="font-secondary text-dark">Email : {{ site.Params.email | markdownify }}</li>
+ {{ if .Site.Params.mobile }}
+ <li class="font-secondary text-dark">Tel : {{ .Site.Params.mobile | markdownify }}</li>
+ {{ end }}
+ {{ if .Site.Params.email }}
+ <li class="font-secondary text-dark">Email : {{ .Site.Params.email | markdownify }}</li>
+ {{ end }}
</ul>
+ {{ end }}
</div>
<div class="col-md-3 col-sm-6 mb-4 mb-md-0">
<h6>Follow</h6>
@@ -104,4 +112,4 @@
display: none;
}
</style>
-{{ end }} \ No newline at end of file
+{{ end }}