-
Notifications
You must be signed in to change notification settings - Fork 153
/
portfolio.html
55 lines (55 loc) · 2.31 KB
/
portfolio.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ with $data.portfolio }}
{{ if .enable }}
{{ "<!-- Start Portfolio Section -->" | safeHTML }}
<section class="portfolio section" id="portfolio">
<div class="container-fluid">
<div class="row">
<div class="col">
<div class="title text-center">
{{ with .topTitle }}
<h4>{{ . }}</h4>
{{ end }}
{{ with .title }}
<h2>{{ . }}</h2>
<span class="border"></span>
{{ end }}
{{ with .subtitle }}
<p>{{ . }}</p>
{{ end }}
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="portfolio-filter">
<button class="filtr-control active" type="button" data-filter="all">All</button>
{{ range .filtermenu }}
<button class="filtr-control" type="button" data-filter="{{ .category }}">{{ .name }}</button>
{{ end }}
</div>
</div>
</div>
<div class="row filtr-container">
{{ range .item }}
<div class="col-6 col-md-4 padding-0 filtr-item" data-category="{{.category}}">
<div class="portfolio-block">
<img class="img-fluid" src="{{ .image | absURL }}" alt="portfolio-image">
<div class="caption">
<a class="search-icon" href="{{ .image | absURL }}" data-lightbox="image-1">
<i class="tf-ion-ios-search-strong"></i>
</a>
<h4>
<a href="">{{ .title }}</a>
</h4>
</div>
</div>
</div>
{{ end }}
</div>
</div>
<!-- end row -->
</section>
{{ "<!-- End section -->" | safeHTML }}
{{ end }}
{{ end }}