diff options
author | William Aboucaya <william.aboucaya@gmail.com> | 2019-11-25 13:54:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 13:54:25 +0300 |
commit | f5d74c1439d2d051f820f40457496c3d7e280b56 (patch) | |
tree | 5729fae330c90e4c452b0414a3e7abfba96cc2ed /layouts | |
parent | 26bf995a01607128ea4c23351c55096cc3856728 (diff) |
Give the choice to display user's education or not
Added a reference to a value in the user's _index.md allowing to decide whether you want to display their education (in the hugo-academic style) or not.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/widgets/about.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/layouts/partials/widgets/about.html b/layouts/partials/widgets/about.html index be6667b..ad91d1b 100644 --- a/layouts/partials/widgets/about.html +++ b/layouts/partials/widgets/about.html @@ -77,8 +77,8 @@ {{ end }} - - <!-- <div class="row"> + {{ if $person.display_education }} + <div class="row"> {{ with $person.education }} <div class="col-md-7"> @@ -108,6 +108,7 @@ </div> {{ end }} - </div> --> + </div> + {{ end }} </div> -</div>
\ No newline at end of file +</div> |