first commit
This commit is contained in:
31
themes/coHub/layouts/partials/gallery.html
Normal file
31
themes/coHub/layouts/partials/gallery.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{{ with .Site.Data.gallery }}
|
||||
{{ if .enable }}
|
||||
<section class="gallery" id="gallery">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="section-title">
|
||||
<h2>{{ .title | safeHTML }}</h2>
|
||||
<p>
|
||||
{{.subtitle}}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
{{ range .galleryImage }}
|
||||
<div class="col-md-6">
|
||||
<div class="gallery-item">
|
||||
<a href="{{ .image | absURL }}" data-source="{{ .image | absURL }}"
|
||||
title="{{ .description }}">
|
||||
<img src="{{ .image | absURL }}" alt="gallery-images">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user