diff --git a/layouts/partials/markdown.html b/layouts/partials/markdown.html index e8e0513..1c0988f 100644 --- a/layouts/partials/markdown.html +++ b/layouts/partials/markdown.html @@ -1,5 +1,5 @@ {{ $markdown := . | markdownify }} -{{ if strings.Contains $markdown "

" }} +{{ if or (strings.Contains $markdown "

") (strings.Contains $markdown "

  • ") }} {{ $markdown }} {{ else }}

    {{ $markdown }}

    diff --git a/layouts/partials/section-experience.html b/layouts/partials/section-experience.html index 2d26316..2fa580a 100644 --- a/layouts/partials/section-experience.html +++ b/layouts/partials/section-experience.html @@ -8,7 +8,7 @@ {{ .date }} {{ if .details }} -

    {{ .details | markdownify }}

    + {{- partial "markdown" .details }} {{ end }} {{ end }}