Initial commit
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
{{ $ := .root }}
|
||||
{{ $page := .page }}
|
||||
|
||||
<!-- About widget -->
|
||||
<div class="row" itemprop="author" itemscope itemtype="http://schema.org/Person">
|
||||
<div class="col-xs-12 col-md-4">
|
||||
<div id="profile">
|
||||
|
||||
{{ with $.Site.Params.avatar }}
|
||||
<div class="portrait" itemprop="image"
|
||||
style="background-image: url('{{ "/img/" | relURL }}{{ . }}');">
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="portrait-title">
|
||||
<h2 itemprop="name">{{ $.Site.Params.name }}</h2>
|
||||
<h3 itemprop="jobTitle">{{ $.Site.Params.role }}</h3>
|
||||
{{ if $.Site.Params.organization }}
|
||||
<h3 itemprop="worksFor">
|
||||
{{ with $.Site.Params.organization_url }}<a href="{{ . }}" target="_blank">{{ end }}
|
||||
{{ $.Site.Params.organization }}
|
||||
{{ if $.Site.Params.organization_url }}</a>{{ end }}
|
||||
</h3>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
<ul class="social-icon" aria-hidden="true">
|
||||
{{ range $.Site.Params.social }}
|
||||
{{ $pack := or .icon_pack "fa" }}
|
||||
<li>
|
||||
<a href="{{ .link | safeURL }}" target="_blank">
|
||||
<i class="{{ $pack }} {{ $pack }}-{{ .icon }} big-icon"></i>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-8" itemprop="description">
|
||||
|
||||
{{ $page.Content }}
|
||||
|
||||
<div class="row">
|
||||
|
||||
{{ with $page.Params.interests }}
|
||||
<div class="col-sm-5">
|
||||
<h3>{{ i18n "interests" | markdownify }}</h3>
|
||||
<ul class="ul-interests">
|
||||
{{ range .interests }}
|
||||
<li>{{ . }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ with $page.Params.education }}
|
||||
<div class="col-sm-7">
|
||||
<h3>{{ i18n "education" | markdownify }}</h3>
|
||||
<ul class="ul-edu fa-ul">
|
||||
{{ range .courses }}
|
||||
<li>
|
||||
<i class="fa-li fa fa-graduation-cap"></i>
|
||||
<div class="description">
|
||||
<p class="course">{{ .course }}{{ with .year }}, {{ . }}{{ end }}</p>
|
||||
<p class="institution">{{ .institution }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user