diff options
author | Kim Laberinto <git@kimlaberinto.com> | 2021-01-25 07:01:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 07:01:54 +0300 |
commit | 13d24aee7a87924442254f0efc7011630054ba14 (patch) | |
tree | 459084e902cfc8694045c0645a1707ebd2a74cb0 /layouts | |
parent | 43485ec24bd449a7f3597498d9683a60d5dbff7b (diff) |
feat: add markdownify to about front matter (#33)
* Add markdownify to About bio, role, and organization
* Update layouts/partials/widgets/about.html
Co-authored-by: C. Wang <38368052+wangchucheng@users.noreply.github.com>
* Update layouts/partials/widgets/about.html
Co-authored-by: C. Wang <38368052+wangchucheng@users.noreply.github.com>
* Update about.html
Co-authored-by: C. Wang <38368052+wangchucheng@users.noreply.github.com>
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/widgets/about.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/widgets/about.html b/layouts/partials/widgets/about.html index 539c7c4..184fccb 100644 --- a/layouts/partials/widgets/about.html +++ b/layouts/partials/widgets/about.html @@ -15,11 +15,11 @@ {{ end }} <div class="flex flex-wrap"> {{ with .Params.role }} - <span class="pl-4">{{ . }}</span> + <span class="pl-4">{{ . | markdownify }}</span> {{ end }} {{ with .Params.organization }} - <a href="{{ .url }}" class="pl-4">{{ .name }}</a> + <a href="{{ .url }}" class="pl-4">{{ .name | markdownify }}</a> {{ end }} </div> @@ -27,7 +27,7 @@ {{ with .Params.bio }} <div class="py-8 text-lg leading-normal"> - {{ . }} + {{ . | markdownify }} </div> {{ end }} </div> @@ -49,4 +49,4 @@ </div> <div class="content"> {{ .Content }} -</div>
\ No newline at end of file +</div> |