refactors layouts for portfolio and sidebar
This commit is contained in:
parent
f90b3ebbaf
commit
435636d745
2 changed files with 6 additions and 9 deletions
|
@ -8,9 +8,9 @@
|
|||
{{ with .Site.Params.authorimage }}
|
||||
{{ $strippedSlash := ($.Site.Params.authorimage | replaceRE "^(/)+(.*)" "$2") }}
|
||||
{{ $authorImage := (printf "%s%s" $.Site.BaseURL $strippedSlash) }}
|
||||
<p>
|
||||
<div>
|
||||
<img src="{{$authorImage}}" alt="Author Image" class="img--circle img--headshot element--center">
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
<p class="site__description">
|
||||
{{ with .Site.Params.description }} {{.}} {{ else }} Your site's description {{end}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue