{{.}}
+
{{/* APA Style */}}
{{ if eq (site.Params.publications.citation_style | default "apa") "apa" }}
-
+
{{ partial "page_metadata_authors" . }}
({{- .Date.Format "2006" -}}).
- {{ .Title }}.
+ {{ .Title }}.
{{ if .Params.publication_short }}
{{- .Params.publication_short | markdownify -}}.
{{ else if .Params.publication }}
@@ -19,10 +19,10 @@
{{/* MLA Style */}}
{{ else }}
-
+
{{ partial "page_metadata_authors" . }}
.
- {{ .Title }}.
+ {{ .Title }}.
{{ if .Params.publication_short }}
{{- .Params.publication_short | markdownify -}},
{{ else if .Params.publication }}
diff --git a/layouts/partials/li_compact.html b/layouts/partials/li_compact.html
index e3adc23c..964634ec 100644
--- a/layouts/partials/li_compact.html
+++ b/layouts/partials/li_compact.html
@@ -1,6 +1,6 @@
{{ $item := . }}
-{{ $microdata_type := "CreativeWork" }}
+{{/* Dynamic view adjusts to content type. */}}
{{ $show_authors_only := false }}{{/* Show authors only or full metadata? */}}
{{ $show_buttons := false }}
{{ $link := $item.RelPermalink }}
@@ -9,20 +9,13 @@
{{ $link = $item.Params.external_link }}
{{ $target = "target=\"_blank\" rel=\"noopener\"" }}
{{ end }}
-
-{{/* Dynamic view adjusts to content type. */}}
-{{ if eq $item.Type "post" }}
- {{ $microdata_type = "BlogPosting" }}
-{{ else if eq $item.Type "talk" }}
- {{ $microdata_type = "Event" }}
+{{ if eq $item.Type "talk" }}
{{ $show_authors_only = true }}
{{ $show_buttons = true }}
{{ else if eq $item.Type "publication" }}
- {{ $microdata_type = "ScholarlyArticle" }}
{{ $show_authors_only = true }}
{{ $show_buttons = true }}
{{ else if eq $item.Type "project" }}
- {{ $microdata_type = "CreativeWork" }}
{{ $show_authors_only = true }}
{{ $show_buttons = true }}
{{ end }}
@@ -37,15 +30,15 @@
{{ $summary = $item.Summary }}
{{ end }}
-
+
-
- {{ $item.Title }}
+
- {{ $item.Title }}
+
+ {{ $item.Title }}
{{ with $summary }}
-
+
{{ . | truncate 135 }}
{{ end }}
@@ -54,18 +47,18 @@
{{ if eq $item.Type "talk" }}
-
+
{{ partial "functions/get_event_dates" $item }}
{{ with $item.Params.location }}
- {{ . }}
+ {{ . }}
{{ end }}
{{ end }}
{{ if and $show_authors_only $item.Params.authors }}
-
+
{{ partial "page_metadata_authors" $item }}
{{ else if not $show_authors_only }}
@@ -85,7 +78,7 @@
{{ with $resource }}
{{ $image := .Resize "150x" }}
-
+
{{end}}
diff --git a/layouts/partials/li_list.html b/layouts/partials/li_list.html
index 436c5513..2600af05 100644
--- a/layouts/partials/li_list.html
+++ b/layouts/partials/li_list.html
@@ -1,6 +1,6 @@
{{ $item := . }}
-{{ $microdata_type := "CreativeWork" }}
+{{/* Dynamic view adjusts to content type. */}}
{{ $icon_pack := "far" }}
{{ $icon := "fa-file-alt" }}
{{ $show_authors := false }}
@@ -11,44 +11,38 @@
{{ $link = $item.Params.external_link }}
{{ $target = "target=\"_blank\" rel=\"noopener\"" }}
{{ end }}
-
-{{/* Dynamic view adjusts to content type. */}}
{{ if eq $item.Type "post" }}
- {{ $microdata_type = "BlogPosting" }}
{{ $icon = "fa-newspaper" }}
{{ else if eq $item.Type "talk" }}
- {{ $microdata_type = "Event" }}
{{ $icon = "fa-calendar-alt" }}
{{ else if eq $item.Type "publication" }}
- {{ $microdata_type = "ScholarlyArticle" }}
{{ $show_authors = true }}
{{ $show_buttons = true }}
{{ else if eq $item.Type "project" }}
- {{ $microdata_type = "CreativeWork" }}
{{ $icon_pack = "fas" }}
{{ $icon = "fa-project-diagram" }}
{{ $show_authors = true }}
{{ $show_buttons = true }}
{{ end }}
-
+
- {{ $item.Title }}
+ {{ $item.Title }}
{{ if eq $item.Type "talk" }}
-
+
{{ partial "functions/get_event_dates" $item }}
{{ with $item.Params.location }}
- {{ . }}
+ {{ . }}
{{ end }}
{{ end }}
{{ if and $show_authors $item.Params.authors }}
-
+
{{ partial "page_metadata_authors" $item }}
{{ end }}
diff --git a/layouts/partials/page_author.html b/layouts/partials/page_author.html
index 288f878d..d591ce3c 100644
--- a/layouts/partials/page_author.html
+++ b/layouts/partials/page_author.html
@@ -25,18 +25,18 @@
{{ $profile_url = site.BaseURL }}
{{ end }}
{{ $avatar := (.Resources.ByType "image").GetMatch "*avatar*" }}
-
+
{{ if and site.Params.gravatar .Params.email }}
-
+
{{ else if $avatar }}
{{ $avatar_image := $avatar.Fill "250x250 Center" }}
-
+
{{ end }}
- {{.Params.name}}
+ {{.Params.name}}
{{ with .Params.role }}{{. | markdownify | emojify}}
{{end}}
- {{ with .Params.bio }}{{. | markdownify | emojify}}
{{end}}
+ {{ with .Params.bio }}{{. | markdownify | emojify}}
{{end}}
{{ range .Params.social }}
{{ $pack := or .icon_pack "fas" }}
@@ -53,7 +53,7 @@
{{ $target = "target=\"_blank\" rel=\"noopener\"" }}
{{ end }}
-
-
+
diff --git a/layouts/partials/page_metadata_authors.html b/layouts/partials/page_metadata_authors.html
index acf3789e..ce802f6f 100644
--- a/layouts/partials/page_metadata_authors.html
+++ b/layouts/partials/page_metadata_authors.html
@@ -6,7 +6,7 @@
{{- $profile_page := site.GetPage (printf "/%s/%s" $taxonomy (. | urlize)) -}}
{{- $name := $profile_page.Params.name | default ($value|markdownify) -}}
{{- if gt $index 0 }}, {{ end -}}
-
+
{{- with $profile_page -}}
{{$name}}
{{- else -}}
diff --git a/layouts/partials/portfolio_li_showcase.html b/layouts/partials/portfolio_li_showcase.html
index be772e33..b3a1175c 100644
--- a/layouts/partials/portfolio_li_showcase.html
+++ b/layouts/partials/portfolio_li_showcase.html
@@ -30,17 +30,17 @@
{{ $js_tag_classes := delimit (apply (apply $item.Params.tags "replace" "." " " "-") "printf" "js-id-%s" ".") " " }}
-
+
-
- {{- if $do_link}}{{end -}}
+
+ {{- if $do_link}}{{end -}}
{{ $item.Title | markdownify | emojify }}
{{- if $do_link}}{{end -}}
{{ with $summary }}
-
+
{{ . }}
{{ end }}
@@ -55,7 +55,7 @@
{{ with $resource }}
{{ $image := .Resize "540x" }}
{{if $do_link}}{{end}}
-
+
{{if $do_link}}{{end}}
{{end}}
{{ . | truncate 135 }}
{{ end }}
@@ -54,18 +47,18 @@
{{ if eq $item.Type "talk" }}
-
+
{{ partial "functions/get_event_dates" $item }}
{{ with $item.Params.location }}
- {{ . }}
+ {{ . }}
{{ end }}
{{ end }}
{{ if and $show_authors_only $item.Params.authors }}
-
+
+
{{end}}
diff --git a/layouts/partials/li_list.html b/layouts/partials/li_list.html
index 436c5513..2600af05 100644
--- a/layouts/partials/li_list.html
+++ b/layouts/partials/li_list.html
@@ -1,6 +1,6 @@
{{ $item := . }}
-{{ $microdata_type := "CreativeWork" }}
+{{/* Dynamic view adjusts to content type. */}}
{{ $icon_pack := "far" }}
{{ $icon := "fa-file-alt" }}
{{ $show_authors := false }}
@@ -11,44 +11,38 @@
{{ $link = $item.Params.external_link }}
{{ $target = "target=\"_blank\" rel=\"noopener\"" }}
{{ end }}
-
-{{/* Dynamic view adjusts to content type. */}}
{{ if eq $item.Type "post" }}
- {{ $microdata_type = "BlogPosting" }}
{{ $icon = "fa-newspaper" }}
{{ else if eq $item.Type "talk" }}
- {{ $microdata_type = "Event" }}
{{ $icon = "fa-calendar-alt" }}
{{ else if eq $item.Type "publication" }}
- {{ $microdata_type = "ScholarlyArticle" }}
{{ $show_authors = true }}
{{ $show_buttons = true }}
{{ else if eq $item.Type "project" }}
- {{ $microdata_type = "CreativeWork" }}
{{ $icon_pack = "fas" }}
{{ $icon = "fa-project-diagram" }}
{{ $show_authors = true }}
{{ $show_buttons = true }}
{{ end }}
-
{{ partial "page_metadata_authors" $item }}
{{ else if not $show_authors_only }}
@@ -85,7 +78,7 @@
{{ with $resource }}
{{ $image := .Resize "150x" }}
-
+
- {{ $item.Title }}
+ {{ $item.Title }}
{{ if eq $item.Type "talk" }}
-
+
{{ partial "functions/get_event_dates" $item }}
{{ with $item.Params.location }}
- {{ . }}
+ {{ . }}
{{ end }}
{{ end }}
{{ if and $show_authors $item.Params.authors }}
-
+
{{ partial "page_metadata_authors" $item }}
{{ end }}
diff --git a/layouts/partials/page_author.html b/layouts/partials/page_author.html
index 288f878d..d591ce3c 100644
--- a/layouts/partials/page_author.html
+++ b/layouts/partials/page_author.html
@@ -25,18 +25,18 @@
{{ $profile_url = site.BaseURL }}
{{ end }}
{{ $avatar := (.Resources.ByType "image").GetMatch "*avatar*" }}
-
+
{{ if and site.Params.gravatar .Params.email }}
-
+
{{ else if $avatar }}
{{ $avatar_image := $avatar.Fill "250x250 Center" }}
-
+
{{ end }}
-
{{.Params.name}}
+{{.Params.name}}
{{ with .Params.role }}{{. | markdownify | emojify}}
{{end}} - {{ with .Params.bio }}{{. | markdownify | emojify}}
{{end}} + {{ with .Params.bio }}{{. | markdownify | emojify}}
{{end}}-
{{ range .Params.social }}
{{ $pack := or .icon_pack "fas" }}
@@ -53,7 +53,7 @@
{{ $target = "target=\"_blank\" rel=\"noopener\"" }}
{{ end }}
- - + diff --git a/layouts/partials/page_metadata_authors.html b/layouts/partials/page_metadata_authors.html index acf3789e..ce802f6f 100644 --- a/layouts/partials/page_metadata_authors.html +++ b/layouts/partials/page_metadata_authors.html @@ -6,7 +6,7 @@ {{- $profile_page := site.GetPage (printf "/%s/%s" $taxonomy (. | urlize)) -}} {{- $name := $profile_page.Params.name | default ($value|markdownify) -}} {{- if gt $index 0 }}, {{ end -}} - + {{- with $profile_page -}} {{$name}} {{- else -}} diff --git a/layouts/partials/portfolio_li_showcase.html b/layouts/partials/portfolio_li_showcase.html index be772e33..b3a1175c 100644 --- a/layouts/partials/portfolio_li_showcase.html +++ b/layouts/partials/portfolio_li_showcase.html @@ -30,17 +30,17 @@ {{ $js_tag_classes := delimit (apply (apply $item.Params.tags "replace" "." " " "-") "printf" "js-id-%s" ".") " " }} -
+
-
- {{- if $do_link}}{{end -}}
+
- {{- if $do_link}}{{end -}}
+
+ {{- if $do_link}}{{end -}}
{{ $item.Title | markdownify | emojify }}
{{- if $do_link}}{{end -}}
{{ with $summary }}
-
+
{{ . }}
{{ end }}
@@ -55,7 +55,7 @@
{{ with $resource }}
{{ $image := .Resize "540x" }}
{{if $do_link}}{{end}}
-
+
{{if $do_link}}{{end}}
{{end}}
{{ . }}
{{ end }}
@@ -55,7 +55,7 @@
{{ with $resource }}
{{ $image := .Resize "540x" }}
{{if $do_link}}{{end}}
-