|
@@ -1,3 +1,6 @@
|
|
|
+{{ $ := .root }}
|
|
|
+{{ $page := .page }}
|
|
|
+
|
|
|
<!-- About/Biography widget -->
|
|
|
<section id="bio" class="home-section">
|
|
|
<div class="container">
|
|
@@ -7,17 +10,17 @@
|
|
|
<div id="profile">
|
|
|
|
|
|
<div class="portrait" itemprop="image"
|
|
|
- style="background-image: url('{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}');">
|
|
|
+ style="background-image: url('{{ $.Site.BaseURL }}img/{{ $.Site.Params.avatar }}');">
|
|
|
</div>
|
|
|
|
|
|
<div class="portrait-title">
|
|
|
- <h2 itemprop="name">{{ .Site.Params.name }}</h2>
|
|
|
- <h3 itemprop="jobTitle">{{ .Site.Params.role }}</h3>
|
|
|
- {{ with .Site.Params.organization }}<h3 itemprop="worksFor">{{ . }}</h3>{{ end }}
|
|
|
+ <h2 itemprop="name">{{ $.Site.Params.name }}</h2>
|
|
|
+ <h3 itemprop="jobTitle">{{ $.Site.Params.role }}</h3>
|
|
|
+ {{ with $.Site.Params.organization }}<h3 itemprop="worksFor">{{ . }}</h3>{{ end }}
|
|
|
</div>
|
|
|
|
|
|
<ul class="social-icon" aria-hidden="true">
|
|
|
- {{ range .Site.Params.social }}
|
|
|
+ {{ range $.Site.Params.social }}
|
|
|
<li>
|
|
|
<a href="{{ .link }}">
|
|
|
<i class="{{ .icon_pack | default "fa" }} {{ .icon_pack | default "fa" }}-{{ .icon }} big-icon"></i>
|
|
@@ -33,11 +36,11 @@
|
|
|
|
|
|
<div class="col-xs-12 col-md-8" itemprop="description">
|
|
|
|
|
|
- {{ .Content }}
|
|
|
+ {{ $page.Content }}
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
- {{ with .Params.interests }}
|
|
|
+ {{ with $page.Params.interests }}
|
|
|
<div class="col-sm-5">
|
|
|
<h3>{{ .title | default "Interests" | markdownify }}</h3>
|
|
|
<ul class="ul-interests">
|
|
@@ -48,7 +51,7 @@
|
|
|
</div>
|
|
|
{{ end }}
|
|
|
|
|
|
- {{ with .Params.education }}
|
|
|
+ {{ with $page.Params.education }}
|
|
|
<div class="col-sm-7">
|
|
|
<h3>{{ .title | default "Education" | markdownify }}</h3>
|
|
|
<ul class="ul-edu fa-ul">
|