mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-22 22:19:39 +00:00
Large storage custom nas (#62)
NAS Storage blog post Added `aimage`, `bimage`, `bgallery` and `fimage` custom shortcodes
This commit is contained in:
12
themes/lhs/layouts/shortcodes/bgallery.html
Normal file
12
themes/lhs/layouts/shortcodes/bgallery.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!-- Start Carousel -->
|
||||
{{ $width := .Get "width" }}
|
||||
|
||||
<div style="margin: auto; width: 80%;">
|
||||
|
||||
<div style="display: block; margin-left: auto; margin-right: auto; width: {{ $width }}%">
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- End Carousel -->
|
||||
Reference in New Issue
Block a user