diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2bdc29b7..b9d9f0fe 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,6 +1,17 @@ -baseurl = "/" # End your URL with a `/` trailing slash, e.g. `https://example.com/`. +# Configuration of Academic +# Documentation: https://sourcethemes.com/academic/ + +# The URL of your website. +# End your URL with a `/` trailing slash, e.g. `https://example.com/`. +baseurl = "/" + +# Title of your site title = "Academic" -copyright = "© 2017 Your Name" + +# Your copyright notice - appears in site footer. +# To display a copyright symbol, type `©`. +copyright = "© 2018" + theme = "academic" enableEmoji = true footnotereturnlinkcontents = "^" @@ -150,15 +161,16 @@ defaultContentLanguageInSubdir = false # The index of the publication type in the list is used as its unique numerical identifier. # The numeric ID is used in a publication's frontmatter to categorize it. # The language can be edited below. - # For multi-lingual sites, copy this block to each language section at the end of this file. + # For multilingual sites, `publication_types` can be copied to each language section at the end of this file and + # translated. publication_types = [ 'Uncategorized', # 0 - 'Conference proceedings', # 1 - 'Journal', # 2 - 'Work in progress', # 3 - 'Technical report', # 4 + 'Conference paper', # 1 + 'Journal article', # 2 + 'Manuscript', # 3 + 'Report', # 4 'Book', # 5 - 'Book chapter' # 6 + 'Book section' # 6 ] # Configuration of talk pages. diff --git a/layouts/partials/publication_li_apa.html b/layouts/partials/publication_li_apa.html index dee7bcbf..9a9c9de0 100644 --- a/layouts/partials/publication_li_apa.html +++ b/layouts/partials/publication_li_apa.html @@ -8,9 +8,9 @@ ({{- .Date.Format "2006" -}}). {{ .Title }}. {{ if .Params.publication_short }} - {{- .Params.publication_short | markdownify -}} - {{ else }} - {{- .Params.publication | markdownify -}} - {{ end }}. + {{- .Params.publication_short | markdownify -}}. + {{ else if .Params.publication }} + {{- .Params.publication | markdownify -}}. + {{ end }}
{{ partial "publication_links" (dict "content" . "is_list" 1) }}
diff --git a/layouts/partials/publication_li_detailed.html b/layouts/partials/publication_li_detailed.html index 9f918782..4a426583 100644 --- a/layouts/partials/publication_li_detailed.html +++ b/layouts/partials/publication_li_detailed.html @@ -46,11 +46,11 @@{{ partial "publication_links" (dict "content" . "is_list" 1) }}