diff options
Diffstat (limited to 'layouts/partials/hero.html')
-rw-r--r-- | layouts/partials/hero.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index b6b63fc..5017df6 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -1,6 +1,8 @@ -<section class="container text-monospace mt-5"> - <div class="container text-center"> - <img class="rounded-circle" src='{{ .Site.Params.img | absURL }}' title="Icon by freepik rom www.flaticon.com" width="200px"/> +<section class="container text-monospace"> + <div class="container text-center"> + {{if .Site.Params.hero.enabled }} + <img class="rounded-circle" src='{{ .Site.Params.img | absURL }}' title="Icon by freepik rom www.flaticon.com" width="200px"/> + {{end}} <h3 class="mt-3">{{ .Site.Title }}</h3> <span class='text-secondary'>{{ .Site.Params.about }}</span> <br><br> @@ -12,4 +14,4 @@ </div> </div> -</section>
\ No newline at end of file +</section> |