mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 14:59:45 +00:00
Fix issue 302 (#304)
This commit is contained in:
parent
1ed3af80f6
commit
73ba592d6c
1 changed files with 21 additions and 24 deletions
|
@ -66,6 +66,7 @@
|
||||||
{{ if .Params.project_timeframe }}
|
{{ if .Params.project_timeframe }}
|
||||||
<p class="fa-xs">{{ .Params.project_timeframe }}</p>
|
<p class="fa-xs">{{ .Params.project_timeframe }}</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
<section class="modal-card-body markdown">
|
||||||
{{ with .Resources.ByType "image" }}
|
{{ with .Resources.ByType "image" }}
|
||||||
{{ $moreThenOneImage := gt (len .) 1 }}
|
{{ $moreThenOneImage := gt (len .) 1 }}
|
||||||
{{ if $moreThenOneImage }}
|
{{ if $moreThenOneImage }}
|
||||||
|
@ -85,12 +86,8 @@
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ .Content }}
|
||||||
{{ with .Content }}
|
|
||||||
<section class="modal-card-body markdown">
|
|
||||||
{{ . }}
|
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
<button class="modal-close is-large" aria-label="close" data-target="#project-{{ $index }}"></button>
|
<button class="modal-close is-large" aria-label="close" data-target="#project-{{ $index }}"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue