From f3384d45adb718fb18ce3582e7a61cd63dbc21d0 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 22 Oct 2017 20:48:34 +0100 Subject: [PATCH] publication: Fix bold font not being applied to metadata (Fix #345) * Fix `pub` CSS scope --- layouts/publication/single.html | 122 ++++++++++++++++---------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/layouts/publication/single.html b/layouts/publication/single.html index ec12a2e9..2fbf92a9 100644 --- a/layouts/publication/single.html +++ b/layouts/publication/single.html @@ -16,82 +16,82 @@ - -
+
- {{ if .Params.image }} - - {{end}} + {{ if .Params.image }} + + {{end}} -

{{ i18n "abstract" }}

-

{{ .Params.abstract | markdownify }}

+

{{ i18n "abstract" }}

+

{{ .Params.abstract | markdownify }}

- {{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) "0") }} -
-
-
-
-
{{ i18n "publication_type" }}
-
- {{ range $index, $pubtype := .Params.publication_types }} - - {{ index $.Site.Params.publication_types (int .) }} - - {{ end }} + {{ if (.Params.publication_types) and (ne (index .Params.publication_types 0) "0") }} +
+
+
+
+
{{ i18n "publication_type" }}
+
+ {{ range $index, $pubtype := .Params.publication_types }} + + {{ index $.Site.Params.publication_types (int .) }} + + {{ end }} +
+
-
-
-
- {{ end }} +
+ {{ end }} -
-
-
-
-
{{ i18n "publication" }}
-
{{ .Params.publication | markdownify }}
-
-
-
-
-
- -
-
-
-
-
{{ i18n "date" }}
- -
- -
-
-
-
-
{{ i18n "links" }}
-
- - {{ partial "publication_links" (dict "content" . "is_list" 0) }} +
+
+
+
+
+
{{ i18n "date" }}
+
+
-
+
+ +
+
+
+
+
{{ i18n "links" }}
+
+ + {{ partial "publication_links" (dict "content" . "is_list" 0) }} + +
+
+
+
+
+
+ +
+ +
{{ .Content }}
+
-
- -
- -
{{ .Content }}
-