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

li.html « _default « layouts - github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c4368bfe0b75e64285763239da43d83789859f0 (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
<li class="project-item">

    <a href="{{.Permalink}}" class="project-item-box">
        {{ $logos := .Resources.Match "logos/*" }}
        {{ if gt (len $logos) 0 }}
            {{ $image := index $logos 0 }}
            <figure class="no-photoswipe">
                <img class="project-item-logo" src="{{ $image.RelPermalink }}" alt="" title="{{ $image.Title }}">
            </figure>
        {{ end }}

        <div>
            {{ with .Title }}
                <div class="project-title">
                    {{ . }}
                </div>
            {{ end }}

            {{ with .Params.subtitle }}
                <div class="project-subtitle">
                    {{ . }}
                </div>
            {{ end }}
        </div>

        <div class="project-item-box-highlight">
        </div>
    </a>

</li>