diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7fc71a3..17bc030 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,17 +10,18 @@ DefaultContentLanguage = "en" # Default language fo showRSSButton = false # Show rss button in navigation fadeIn = true # Turn on/off the fade-in effect dateFormat = "Jan 2, 2006" - customCSS = ["css/foo.css"] # Include custom css files + email = "youremail@email.com" # E-mail address for contact section + # customCSS = ["foo.css"] # Include custom css files # Configure the home page [params.home] - introHeight = "large" # Input either "medium" or "large" or "fullheight" - showLatest = true # Show latest blog post summary - showAllPosts = false # Set true to list all posts on home page, or set false to link to separate blog list page - numberOfProjectsToShow = 3 # Maximum number of projects to show on home page. Unset or comment out to show all projects - email = "youremail@email.com" # Shows in contact section, or leave blank to omit - localTime = true # Show your current local time in contact section - timeZone = "America/Los_Angeles" # Your timezone as in the TZ* column of this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones + introHeight = "large" # Input either "medium" or "large" or "fullheight" + showLatest = true # Show latest blog post summary + showAllPosts = false # Set true to list all posts on home page, or set false to link to separate blog list page + numberOfProjectsToShow = 3 # Maximum number of projects to show on home page. Unset or comment out to show all projects + + localTime = true # Show your current local time in contact section + timeZone = "America/Los_Angeles" # Your timezone as in the TZ* column of this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Share buttons on blog post pages [params.share] diff --git a/i18n/de.toml b/i18n/de.toml index 19e583c..b5ff7b5 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -1,7 +1,7 @@ [404_title] other = "404" [404_description] - other = "Oop! Endweder hast du einen Fehler gefunden ([dann kontaktiere mich bitte](mailto:{{ .Site.Params.email }})) oder du versucht etwas zu finden, was es nicht gibt. Diese Seite exisiert nicht!" + other = "Oop! Endweder hast du einen Fehler gefunden{{ with .Site.Params.email }} ([dann kontaktiere mich bitte](mailto:{{ . }})) {{ end }} oder du versucht etwas zu finden, was es nicht gibt. Diese Seite exisiert nicht!" [index_projects_allProjects] other = "Alle Projekte" [index_blog_latestPosts] diff --git a/i18n/en.toml b/i18n/en.toml index 23d2bbe..44c931e 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -1,7 +1,7 @@ [404_title] other = "404" [404_description] - other = "Oops! Either you've found a bug (in which case, [please tell me](mailto:{{ .Site.Params.email }})) or you're just making things up. This page doesn't exist!" + other = "Oops! Either you've found a bug{{ with .Site.Params.email }} (in which case, [please tell me](mailto:{{ . }})) {{ end }} or you're just making things up. This page doesn't exist!" [index_projects_allProjects] other = "All Projects" [index_blog_latestPosts] diff --git a/i18n/es.toml b/i18n/es.toml index 0779b6f..411af68 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -1,7 +1,7 @@ [404_title] other = "404" [404_description] - other = "Oops! O bien encontraste un bug (en cuyo caso, [por favor avisame](mailto:{{ .Site.Params.email }})) o simplemente estas inventando cosas. Esta página no existe!" + other = "Oops! O bien encontraste un bug{{ with .Site.Params.email }} (en cuyo caso, [por favor avisame](mailto:{{ . }})) {{ end }} o simplemente estas inventando cosas. Esta página no existe!" [index_blog_latestPosts] other = "Últimas Entradas" [index_blog_allPosts] diff --git a/layouts/index.html b/layouts/index.html index 4e96a96..7ab4cd3 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -86,7 +86,7 @@ {{ if .Site.Params.home.localTime }}
{{ i18n "index_currentTime" . }} .
{{ end }} - {{ with .Site.Params.home.email }} + {{ with .Site.Params.email }}