diff --git a/assets/css/common/home-info.css b/assets/css/common/home-info.css new file mode 100644 index 00000000..585f2c80 --- /dev/null +++ b/assets/css/common/home-info.css @@ -0,0 +1,23 @@ +.home-info-container { + display: flex; + align-items: center; +} + +.home-info-container img { + flex: 1; + flex-shrink: 0; + width: 100%; + height: auto; + max-width: 600px; + margin-right: 20px; + border-radius: 20%; +} + +.home-info-container ul { + padding-left: 20px; + list-style-type: none; +} + +.home-info-container li { + padding-top: 10px; +} diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html index efae956e..a51ba386 100644 --- a/layouts/partials/home_info.html +++ b/layouts/partials/home_info.html @@ -1,10 +1,16 @@ {{- with site.Params.homeInfoParams }}
-

{{ .Title | markdownify }}

+

{{ .title | markdownify }}

-
- {{ .Content | markdownify }} +
+ +  {{ .image.title | default + +
+ {{ .content | markdownify }} +