FEATURE: Add caption under pictures in the fancybox mode

This commit is contained in:
FarseaSH 2022-09-04 21:14:31 +08:00
parent 3776130e5c
commit d5904ec528
2 changed files with 9 additions and 11 deletions

View file

@ -5,6 +5,8 @@
{{ $max_width = 53}}
{{ end }}
{{ $caption := .caption}}
<div class="pic-grid" style="width: {{ $max_width }}%">
<div class="pure-g">
{{ range $num, $a := .pic_set }}