forked from spf13/hyde
-
Notifications
You must be signed in to change notification settings - Fork 211
/
Copy pathcontent.html
58 lines (58 loc) · 2.75 KB
/
content.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
56
57
58
<span class="section__title">{{ .Title | default "Projects" }}</span>
<div class="portfolio__content">
{{ range first 1 (where .Data.Pages "Params.featured" "==" true) }}
<section class="portfolio__featured-project">
<div class="section-inner">
<div class="portfolio_content">
<div class="item featured text-center">
<span class="project__title">
<a href="{{ .Params.Link }}" target="_blank" rel="noopener noreferrer">{{ .Title }}</a>
</span>
<p class="project__subtitle-big">
<sup><i class="fa fa-quote-left" aria-hidden="true"></i></sup>
{{ .Params.description }}
<sup><i class="fa fa-quote-right" aria-hidden="true"></i></sup>
</p>
<div class="project__featured-image">
{{ if .Params.screenshot }}
<img src="{{ .Params.screenshot }}" alt="{{ .Title }}">
{{ end }}
</div>
<div class="project__summary">
{{ .Content }}
</div>
</div>
</div>
</div>
</section>
{{ end }}
<section>
<div class="portfolio_content">
<hr class="divider">
{{ range (where .Data.Pages "Params.featured" "!=" true).ByDate.Reverse }}
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-12" href="{{ .Params.link }}"
target="_blank" rel="noopener noreferrer">
{{ if .Params.screenshot }}
<img class="project__image img-responsive" src="{{ .Params.screenshot }}" alt="{{ .Title }}">
{{ end }}
</div>
<div class="col-md-8 col-sm-8 col-xs-12">
<span class="project__title">
<a href="{{ .Params.link }}" target="_blank" rel="noopener noreferrer">{{ .Title }}</a>
</span>
<span class="project__subtitle-small">
<sup><i class="fa fa-quote-left" aria-hidden="true"></i></sup>
{{ .Params.description }}
<sup><i class="fa fa-quote-right" aria-hidden="true"></i></sup>
</span>
<span class="project__summary">
{{ .Content }}
</span>
</div>
</div>
<div class="row-space"> </div>
{{ end }}
</div>
</section>
</div>