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

projects.html « projects « partials « layouts - github.com/hadisinaee/avicenna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7cc04a5d866a5abf578466da84edfde7d71d0afb (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
{{ $content_type := .Params.content_type }}
{{if $content_type}}
{{ $t := .Site.GetPage $content_type }}
{{ $rscPages := $t.Resources.ByType "page"}}

{{if gt (len $rscPages) 0}}
<div class="projects row w-100">
    <div class="col w-100">
        {{range $page := sort $rscPages "Params.date" "desc"}}
        <div class="project row w-100">
            <div class="section-1 w-100">
                <span class="project-title">
                    {{$page.Params.title}}
                </span>
            </div>

            {{ $links := $page.Params.links }}
            {{ if $links }}
            <div class="section-2  w-100">
                {{ if $links.website }}
                <a class="main_color text-decoration-none rounded " href="{{$links.git}}" target="_blank">website</a>
                {{end}}
            </div>
            {{end}}


        </div>
        {{end}}


    </div>
    {{end}}
</div>
{{end}}