From 0fc9fe4de778c22b6829ce29e22453b2f7850a15 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Sat, 11 Jun 2022 13:24:47 -0700 Subject: [PATCH] Markup fix: use paragraphs in bibliography --- content/posts/cli-best-practices.md | 12 +++++++++--- layouts/shortcodes/mention-work.html | 7 +++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/content/posts/cli-best-practices.md b/content/posts/cli-best-practices.md index dcf457f..077b979 100644 --- a/content/posts/cli-best-practices.md +++ b/content/posts/cli-best-practices.md @@ -163,9 +163,15 @@ References and further reading ------------------------------
    -
  1. {{}}Harini Sampath, Alice Merrick, and Andrew Macvean. 2021. _{{}}. In CHI Conference on Human Factors in Computing Systems (CHI '21), May 8–13, 2021, Yokohama, Japan._ ACM, New York, NY, USA 10 Pages. {{}}

  2. -
  3. {{}}{{}}. Alastair Campbell, Michael Cooper, Andrew Kirkpatrick. W3C. .{{}}

  4. -
  5. {{}}{{}}. Aanand Prasad, Ben Firshman, Carl Tashian, Eva Parish. Commit `89d755c`, .{{}}

  6. +
  7. +{{}}Harini Sampath, Alice Merrick, and Andrew Macvean. 2021. _{{}}. In CHI Conference on Human Factors in Computing Systems (CHI '21), May 8–13, 2021, Yokohama, Japan._ ACM, New York, NY, USA 10 Pages. DOI 10.1145/3411764.3445544{{}} +
  8. +
  9. +{{}}{{}}. Alastair Campbell, Michael Cooper, Andrew Kirkpatrick. W3C. .{{}} +
  10. +
  11. +{{}}{{}}. Aanand Prasad, Ben Firshman, Carl Tashian, Eva Parish. Commit `89d755c`, .{{}} +
diff --git a/layouts/shortcodes/mention-work.html b/layouts/shortcodes/mention-work.html index 65a2c29..e8a20ee 100644 --- a/layouts/shortcodes/mention-work.html +++ b/layouts/shortcodes/mention-work.html @@ -2,7 +2,14 @@ {{- with .Get "itemprop" -}} {{ $itemprop = . }} {{- end -}} +{{- if .Get "p" -}} +

+ {{- .Inner | markdownify | safeHTML -}} +

+{{- else -}} {{- .Inner | markdownify | safeHTML -}} +{{- end -}}