first commit
This commit is contained in:
commit
7fa1a1444a
52 changed files with 1519 additions and 0 deletions
13
layouts/partials/avatar.html
Normal file
13
layouts/partials/avatar.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<header class="text-center header">
|
||||
{{ with .Site.Params.authorimage }}
|
||||
{{ with resources.Get (printf "images/%s" .)}}
|
||||
<img src="{{ .Permalink }}" alt="Author Image" class="img-fluid rounded-circle mx-auto d-block headshot">
|
||||
{{ else }}
|
||||
{{ with resources.Get (printf "img/%s" .)}}
|
||||
<img src="{{ .Permalink }}" alt="Author Image" class="img-fluid rounded-circle mx-auto d-block headshot">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<h1 class="author mt-3">{{ .Site.Params.author }}</h1>
|
||||
</header>
|
Loading…
Add table
Add a link
Reference in a new issue