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

index.html « layouts - github.com/darshanbaral/aafu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c01e25b0bc3ad413625f3091b1afae4166cd5180 (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
{{ define "main" }}
<div class="ml-auto mr-auto row row-eq-height rounded">
  <div class="col-md-5 text-center p-2 mt-1">
    <div class="profile-area rounded text-center position-relative shadow">
      {{ partial "profilePhoto" . }}
      <div class="p-2">
        {{ partial "social" . }} {{ partial "footer" . }}
      </div>
    </div>
  </div>
  <div class="col-md-7 pt-2 mt-3">
    {{ range .Site.Params.showInAccordion }}
    <h2 class="accordion {{ if .expand }} active {{ end }}">
      {{ $current := index $.Site.Params .item }}
      <span onclick="expandAccordion(this)" style="cursor: pointer;">
        <i class="{{ $current.icon }}"></i>
        {{ $current.title -}}
      </span>
    </h2>
    <div
      class="panel overflow-hidden"
      {{ if $current.panelid }}
      id="{{ $current.panelid }}"
      {{ end }}
    >
      {{ partial (print "accordion/" .item) $ }}
    </div>
    {{ end }}
    <script src="{{ `js/accordion.js` | relURL }}"></script>
  </div>
</div>
{{ end }}