From 8677d08969e5ea81746df7a2f73527c078a13442 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Mon, 4 May 2020 19:10:14 -0400 Subject: [PATCH] Resume: fix div showing up https://github.com/gohugoio/hugo/issues/6759#issuecomment-592015342 --- config.yaml | 10 +++++++--- layouts/partials/base/footer.html | 2 +- layouts/shortcodes/resume/project.html | 4 +--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/config.yaml b/config.yaml index 4198fcc..c9183f1 100644 --- a/config.yaml +++ b/config.yaml @@ -36,9 +36,13 @@ menu: # url: /credits # weight: 20 -blackfriday: - plainIDAnchors: true - hrefTargetBlank: true +# blackfriday: + # plainIDAnchors: true + # hrefTargetBlank: true disableKinds: ["RSS"] +markup: + goldmark: + renderer: + unsafe: true diff --git a/layouts/partials/base/footer.html b/layouts/partials/base/footer.html index 6ef042a..74a96ed 100644 --- a/layouts/partials/base/footer.html +++ b/layouts/partials/base/footer.html @@ -29,7 +29,7 @@ envelope - + mastodon-logo diff --git a/layouts/shortcodes/resume/project.html b/layouts/shortcodes/resume/project.html index b266bd8..c699c72 100644 --- a/layouts/shortcodes/resume/project.html +++ b/layouts/shortcodes/resume/project.html @@ -9,7 +9,6 @@ aria-expanded="false" aria-controls="{{ .Get "name" | lower | urlize }}-details">

{{ .Get "name" }} - link-icon

@@ -17,9 +16,8 @@
{{ .Get "date" }}
-
{{ .Inner }} -
+