|
|
@ -1,24 +1,18 @@ |
|
|
|
{{ define "main" }} |
|
|
|
<main> |
|
|
|
<section class="article-header"> |
|
|
|
{{if not .IsHome }} |
|
|
|
<section> |
|
|
|
|
|
|
|
<h1>{{ .Params.name }}</h1> |
|
|
|
<p class="center-text">{{ .Params.bio }}</p> |
|
|
|
{{ with .Resources.GetMatch "avatar" }} |
|
|
|
<img class="shadow featured" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/> |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
<a class="small-text" href={{ .Params.projects}}>Projects</a> |
|
|
|
<span> | </span> |
|
|
|
<a class="small-text" href="mailto:{{ .Params.email }}">{{ .Params.email}}</a> |
|
|
|
<h1>{{ .Params.name }}</h1> |
|
|
|
<p>{{ .Params.bio }}</p> |
|
|
|
|
|
|
|
<div class="break"></div> |
|
|
|
{{ with .Resources.GetMatch "avatar" }} |
|
|
|
<img class="shadow small-image featured" src="{{ .RelPermalink }}" alt="{{ .Params.alt }}"/> |
|
|
|
{{ end }} |
|
|
|
<a class="small-text" href={{ .Params.projects}}>Projects</a> |
|
|
|
<span> | </span> |
|
|
|
<a class="small-text" href="mailto:{{ .Params.email }}">{{ .Params.email}}</a> |
|
|
|
|
|
|
|
{{ end }} |
|
|
|
|
|
|
|
</section> |
|
|
|
</main> |
|
|
|
</section> |
|
|
|
|
|
|
|
<section> |
|
|
|
|
|
|
|