Welcome to mirror list, hosted at ThFree Co, Russian Federation.

single.html « portfolio « layouts - github.com/themefisher/kross-hugo-portfolio-template.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6cf56bddee4b6f919f079332b5cc42db2233d8fd (plain)
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
{{ define "main" }}

{{ partial "page-title.html" . }}

<!-- portfolio -->
<section class="section">
  <div class="container">
    <div class="row justify-content-around">
      <div class="col-lg-5 col-md-6 mb-5">
        <img src="{{ .Params.image | absURL }}" class="img-fluid w-100" alt="{{ .Title }}">
      </div>
      <div class="col-lg-5 col-md-6 mb-5">
        <div class="card shadow">
          <div class="card-body">
            <h1 class="h3 mb-5">{{.Title}}</h1>
            <div class="mb-4">
              <h4>Date:</h4>
              <strong>{{ .PublishDate.Format "Jan 02, 2006" }}</strong>
            </div>
            {{ with .Params.Client}}
            <div class="mb-4">
              <h4>Client:</h4>
              <strong>{{. | markdownify}}</strong>
            </div>
            {{ end }}
            <div class="mb-4">
              <h4>Categories:</h4>
              <strong>{{ delimit .Params.categories ", " | humanize }}</strong>
            </div>
            {{ with .Params.project_url}}
            <div class="mb-4">
              <h4>Project Link:</h4>
              <strong>{{. | markdownify}}</strong>
            </div>
            {{ end }}
          </div>
        </div>
      </div>
      <div class="col-lg-11">
        <div class="content">{{.Content}}</div>
      </div>
    </div>
  </div>
</section>
<!-- /portfolio -->

{{ end }}