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

projects.html « modules « partials « layouts - github.com/serg/yourfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bbb0bad1eaac4ee268e95f6692eb55059db59104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{$page := .}}
{{- with .Params.projects -}}
<ul class="projects clearfix">
  {{- range . -}}
    <li class="project{{with .class}} {{.}}{{end}}">
      <a href="{{.link}}">
        {{- partial "modules/image" (dict "image" .image "page" $page) -}}
        <div class="project-hover">
          <div class="project-caption">
            {{- with .title -}}
              <div class="break-word project-title">{{.}}</div>
            {{- end -}}
            {{- with .type -}}
              <div class="break-word project-type">{{.}}</div>
            {{- end -}}
          </div>
        </div>
      </a>
    </li>
  {{- end -}}
</ul>
{{- end -}}