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

siteinfo.html « partials « layouts - github.com/surajmandalcell/potato-dark.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 05b9256036884fe7500c6b2e5a8d8037fd21c1b9 (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
{{ if or ( .Site.Params.avatar ) ( .Site.Params.author ) ( .Site.Params.bio ) ( .Site.Params.contact ) }}
<aside class="p-author">
  {{ with .Site.Params.avatar }}
  <div class="c-avatar p-author__avatar">
    <img alt="Author Avatar" src="{{ . }}" />
  </div>
  {{ end }}
  {{ if or ( .Site.Params.author ) ( .Site.Params.bio ) ( .Site.Params.contact ) }}
  <div class="p-author__body">
    {{ with .Site.Params.author }}
    <p class="c-title p-author__name ">{{ . }}</p>
    {{ end }}
    {{ with .Site.Params.bio }}
    <p>{{ . }}</p>
    {{ end }}
    {{ with .Site.Params.contact }}
    <p>
      <a href="{{ . }}">
        Contact me
      </a>
    </p>
    {{ end }}
  </div>
  {{ end }}
</aside>
{{ end }}