Skip to content

Commit

Permalink
Create layout for individual team member page
Browse files Browse the repository at this point in the history
  • Loading branch information
avicndugu committed Oct 30, 2023
1 parent 2cc6bcc commit daa3ffc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions layouts/team/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{{ define "body_classes" }}page-default-single{{ end }}

{{ define "main" }}
<div class="container pb-6 pt-6 pt-md-14 pb-md-14">
<div class="row justify-content-start">
<div class="col-12 col-md-8">
{{ if .Params.image }}
<div>
<img width="320" height="320" alt="Photo of {{ .Title }}" class="img-fluid mb-2" src="{{ .Params.image | relURL }}" />
</div>
{{ end }}
<div class="team-summary">
<div class="team-meta mb-2">
<h1 class="team-name">{{ .Title }}</h1>
<p class="team-description">{{ .Params.Jobtitle }}</p>
{{ if .Params.Linkedinurl }}
<a target="_blank" rel="noreferrer" href="{{ .Params.Linkedinurl }}">LinkedIn</a>
{{ end }}
</div>
<div class="content">{{.Content}}</div>
</div>
</div>
</div>
</div>
{{ end }}

0 comments on commit daa3ffc

Please sign in to comment.