Remove inline styling where possible

This commit is contained in:
2021-11-10 20:02:52 +01:00
parent a8c9b46f6a
commit ea4c2dc200
4 changed files with 9 additions and 14 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
{{ define "main" }}
<main role="main" style="">
<main role="main">
<div>
{{- if .Site.Params.Portrait.Path }}
{{- partial "image.html" (dict "path" .Site.Params.Portrait.Path "alt" .Site.Params.Portrait.Alt "class" "circle" "style" (printf "max-width:%s" .Site.Params.Portrait.Size ))}}