Merge pull request #9 from jtom38/features/theme/optional-thumbnail

added a option to hide the column if a thumb is not available
This commit is contained in:
James Tombleson 2022-10-01 22:37:16 -07:00 committed by GitHub
commit 8e4eb39c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,9 +6,11 @@
<div class="columns"> <div class="columns">
{{ if .Params.thumbnail }}
<div class="column"> <div class="column">
<img src="{{ .Params.thumbnail }}" /> <img src="{{ .Params.thumbnail }}" />
</div> </div>
{{ end }}
<div class="column"> <div class="column">
<div class="content"> <div class="content">