From 5093400ed3285b3f54980e33524dd95d87344343 Mon Sep 17 00:00:00 2001 From: Ringo De Smet Date: Thu, 16 Nov 2017 15:49:22 +0100 Subject: Using the `themesDir` option to allow `hugo serve` locally without a softlink. The softlink doesn't work on Windows. (#102) --- exampleSite/config.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 7786bfb..f24e904 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,6 +1,7 @@ baseurl = "https://example.org" title = "Universal" theme = "hugo-universal-theme" +themesDir = "../.." languageCode = "en-us" # Site language. Available translations in the theme's `/i18n` directory. defaultContentLanguage = "en" -- cgit v1.2.3 From 9c22db005b64ca3a5ad3c68fbb8c7161d2f212f6 Mon Sep 17 00:00:00 2001 From: ddffnn Date: Fri, 13 Jul 2018 03:39:11 -0700 Subject: make navbar use site param for site logo (#173) --- exampleSite/config.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f24e904..0d53d69 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -98,6 +98,7 @@ paginate = 10 date_format = "January 2, 2006" logo = "img/logo.png" + logo_small = "img/logo-small.png" address = """

Universal Ltd.
13/25 New Avenue
Newtown upon River -- cgit v1.2.3 From cd3401ad5d6d18539a04d8a4aa260ca9db4113ef Mon Sep 17 00:00:00 2001 From: Vittorio Alfieri Date: Tue, 9 Apr 2019 21:37:12 +0200 Subject: Fix formspree. Add possibility to send request through plain HTTP POST (#203) * Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. * Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Improve hugo templating in contact.html * Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Add toggle to exampleSite/config.toml * Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Remove useless function. * Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Use custom class only for ajax. * Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Return if form is null. --- exampleSite/config.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0d53d69..6653731 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -90,6 +90,7 @@ paginate = 10 # # Enable the contact form by entering your Formspree.io email email = "your@email.com" + contact_form_ajax = false about_us = "

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

" copyright = "Copyright (c) 2015 - 2016, YourCompany; all rights reserved." -- cgit v1.2.3 From 2ff55af49c4cf347ba8c2e45864203ff63cea0e5 Mon Sep 17 00:00:00 2001 From: jpvicari Date: Tue, 9 Apr 2019 15:41:57 -0400 Subject: Add Twitter card meta tags and Twitter config params (#192) * Add Twitter card meta tags and Twitter config params * Add absURL filter to Twitter card image --- exampleSite/config.toml | 4 ++++ exampleSite/content/blog/creating-a-new-theme.md | 1 + exampleSite/static/img/twitter-default.png | Bin 0 -> 304053 bytes 3 files changed, 5 insertions(+) create mode 100644 exampleSite/static/img/twitter-default.png (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6653731..3a9f8fd 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -70,6 +70,10 @@ paginate = 10 defaultKeywords = ["devows", "hugo", "go"] defaultDescription = "Site template made by devcows using hugo" + # Twitter + twitter = "GoHugoIO" + twitterImage = "img/twitter-default.png" + # Google Maps API key (if not set will default to not passing a key.) googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" diff --git a/exampleSite/content/blog/creating-a-new-theme.md b/exampleSite/content/blog/creating-a-new-theme.md index 07f0145..799a813 100644 --- a/exampleSite/content/blog/creating-a-new-theme.md +++ b/exampleSite/content/blog/creating-a-new-theme.md @@ -3,6 +3,7 @@ title = "Creating a new theme" date = "2015-06-24T13:50:46+02:00" tags = ["theme"] categories = ["starting"] +description = "This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content." banner = "img/banners/banner-1.jpg" +++ diff --git a/exampleSite/static/img/twitter-default.png b/exampleSite/static/img/twitter-default.png new file mode 100644 index 0000000..5180bbb Binary files /dev/null and b/exampleSite/static/img/twitter-default.png differ -- cgit v1.2.3 From 1291f437fd8d347c4457c37af26fb2876aa6f545 Mon Sep 17 00:00:00 2001 From: Salim B Date: Fri, 10 May 2019 13:52:39 +0000 Subject: improve navigation highlighting: (#211) * improve navigation highlighting: - highlight blog section when on taxonomy sites (`/tags/` and `/categories/`) - highlight home, too * nav highlighting: fall back to `url` if `identifier` key is not set for menu --- exampleSite/config.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3a9f8fd..6e94f29 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -18,22 +18,25 @@ paginate = 10 # Main menu [[menu.main]] + identifier="home" name = "Home" url = "/" weight = 1 [[menu.main]] + identifier="blog" name = "Blog" url = "/blog/" weight = 2 [[menu.main]] - name = "FAQ" identifier = "faq" + name = "FAQ" url = "/faq/" weight = 3 [[menu.main]] + identifier = "contact" name = "Contact" url = "/contact/" weight = 4 -- cgit v1.2.3 From dbc3062d24742ebaffa409a747b93ad80001897f Mon Sep 17 00:00:00 2001 From: Salim B Date: Sat, 26 Oct 2019 21:48:58 +0200 Subject: improve meta tags: (#212) * add og:locale meta tag * improve meta tags: - fix `author` and `og:url` meta tags - add missing (Facebook) Open Graph meta tags - add `og:locale` - add `og:updated_time` - make `og:type` an `article` for blog posts (instead of `website`) - add `article:` meta tags for blog posts (use the first category of blog posts for `article:section`) - add `og:image:type` MIME type - add auto-calculated `og:image:width` and `og:image:height` - you can now set the key `facebook_author = "xyz"` in the front matter of posts (also possible to set a fallback under `Site.Params.facebook_author`) to have the `article:author` meta tag set to `"https://www.facebook.com/xyz/"` - add `article:publisher` if `facebook_site` is set in `Site.Params` - use the post banner image for both `og:image` and `twitter:image` if present and fall back to `static/img/sharing-default.png` otherwise - make `twitter:card` only of type `summary_large_image` if page is a blog post and has a dedicated banner image set - add `twitter:creator` meta tag if the key `twitter_author` is present in the front matter of posts (also possible to set a fallback under `Site.Params.twitter_author`) - added some examples for facebook/twitter authors in the example `.md` posts - make `twitter:site` meta tag disappear if `twitter_site` is not set in `Site.Params` - truncate `twitter:title` and `twitter:description` to max allowed length (70 and 200 chars) - `markdownify` and `plainify` various strings for convenience - simplify code/improve style * use additional variables to avoid code redundancy * document how to set HTML metadata * clarify metadata documentation * also mention `og:updated_time` * clarify sentence about HTML metadata --- exampleSite/config.toml | 7 ++++--- exampleSite/content/blog/go-is-for-lovers.md | 1 + exampleSite/content/blog/migrate-from-jekyll.md | 1 + exampleSite/static/img/sharing-default.png | Bin 0 -> 304053 bytes exampleSite/static/img/twitter-default.png | Bin 304053 -> 0 bytes 5 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 exampleSite/static/img/sharing-default.png delete mode 100644 exampleSite/static/img/twitter-default.png (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6e94f29..b3dfcb0 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -73,9 +73,10 @@ paginate = 10 defaultKeywords = ["devows", "hugo", "go"] defaultDescription = "Site template made by devcows using hugo" - # Twitter - twitter = "GoHugoIO" - twitterImage = "img/twitter-default.png" + # Social media + facebook_site = "" # the Facebook handle of your site ('https://www.facebook.com/HANDLE') + twitter_site = "GoHugoIO" # the Twitter handle of your site (without the '@') + default_sharing_image = "img/sharing-default.png" # Google Maps API key (if not set will default to not passing a key.) googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" diff --git a/exampleSite/content/blog/go-is-for-lovers.md b/exampleSite/content/blog/go-is-for-lovers.md index 8b09d63..b5f3ff0 100644 --- a/exampleSite/content/blog/go-is-for-lovers.md +++ b/exampleSite/content/blog/go-is-for-lovers.md @@ -4,6 +4,7 @@ date = "2015-09-17T13:47:08+02:00" tags = ["go"] categories = ["programming"] banner = "img/banners/banner-2.jpg" +facebook_author = "GolangSociety" +++ Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for diff --git a/exampleSite/content/blog/migrate-from-jekyll.md b/exampleSite/content/blog/migrate-from-jekyll.md index ce21cb5..1468d12 100644 --- a/exampleSite/content/blog/migrate-from-jekyll.md +++ b/exampleSite/content/blog/migrate-from-jekyll.md @@ -4,6 +4,7 @@ date = "2015-10-10T13:07:31+02:00" tags = ["ipsum"] categories = ["lorem"] banner = "img/banners/banner-5.jpg" +twitter_author = "jekyllrb" +++ ## Move static content to `static` diff --git a/exampleSite/static/img/sharing-default.png b/exampleSite/static/img/sharing-default.png new file mode 100644 index 0000000..5180bbb Binary files /dev/null and b/exampleSite/static/img/sharing-default.png differ diff --git a/exampleSite/static/img/twitter-default.png b/exampleSite/static/img/twitter-default.png deleted file mode 100644 index 5180bbb..0000000 Binary files a/exampleSite/static/img/twitter-default.png and /dev/null differ -- cgit v1.2.3 From d809b617f8cdf31d49691b26d82e1b1d7fdcb01e Mon Sep 17 00:00:00 2001 From: Florian Wilkens Date: Tue, 29 Oct 2019 09:37:56 +0100 Subject: [footer] Show recent posts from all mainSections (#228) Similar to the `recent_posts.html` partial the footer currently only shows posts from the hardcoded 'blog' type. This commit changes this to all `mainSections` of the site. --- exampleSite/config.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b3dfcb0..aa1fac5 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -71,6 +71,7 @@ paginate = 10 viewMorePostLink = "/blog/" author = "DevCows" defaultKeywords = ["devows", "hugo", "go"] + mainSections = ["blog"] defaultDescription = "Site template made by devcows using hugo" # Social media -- cgit v1.2.3 From 3c7e7de23674a8a76881c0a6e4b93d9df87ca6f2 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Wed, 30 Oct 2019 19:48:21 +0100 Subject: Style for header icons from Universal v2. (#235) * Style for header icons from Universal v2. * Applied to all colors. --- exampleSite/config.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index aa1fac5..2922f1f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -47,25 +47,25 @@ paginate = 10 weight = 1 name = "GitHub" url = "https://github.com/devcows/hugo-universal-theme" - pre = "" + pre = "" [[menu.topbar]] weight = 2 name = "Facebook" url = "http://facebook.com" - pre = "" + pre = "" [[menu.topbar]] weight = 3 name = "Twitter" url = "http://twitter.com" - pre = "" + pre = "" [[menu.topbar]] weight = 4 name = "Email" url = "mailto:your@email.com" - pre = "" + pre = "" [params] viewMorePostLink = "/blog/" -- cgit v1.2.3 From 70e126db56f8eb36a65617415e20cc40fbf1695e Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Thu, 31 Oct 2019 10:12:38 +0100 Subject: Dmetzgar fontawesome latest (5.11.2) (#234) * Pointing to current font awesome * Update to latest font awesome * Updated fa icons for example site * Fixed all missing classes, fixed styles according new classes. * Update head.html * File-alt instead of file-code --- exampleSite/config.toml | 14 +++++++------- exampleSite/data/features/consulting.yaml | 2 +- exampleSite/data/features/email.yaml | 2 +- exampleSite/data/features/print.yaml | 2 +- exampleSite/data/features/seo.yaml | 2 +- exampleSite/data/features/uiux.yaml | 2 +- exampleSite/data/features/webdesign.yaml | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2922f1f..e91ddb2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -47,25 +47,25 @@ paginate = 10 weight = 1 name = "GitHub" url = "https://github.com/devcows/hugo-universal-theme" - pre = "" + pre = "" [[menu.topbar]] weight = 2 name = "Facebook" url = "http://facebook.com" - pre = "" + pre = "" [[menu.topbar]] weight = 3 name = "Twitter" url = "http://twitter.com" - pre = "" + pre = "" [[menu.topbar]] weight = 4 name = "Email" url = "mailto:your@email.com" - pre = "" + pre = "" [params] viewMorePostLink = "/blog/" @@ -128,8 +128,8 @@ paginate = 10 [params.topbar] enable = true text = """ - """ @@ -161,7 +161,7 @@ paginate = 10 [params.see_more] enable = true - icon = "fa fa-file-code-o" + icon = "far fa-file-alt" title = "Do you want to see more?" subtitle = "We have prepared for you more than 40 different HTML pages, including 5 variations of homepage." link_url = "#" diff --git a/exampleSite/data/features/consulting.yaml b/exampleSite/data/features/consulting.yaml index 7f62850..cece32f 100644 --- a/exampleSite/data/features/consulting.yaml +++ b/exampleSite/data/features/consulting.yaml @@ -1,4 +1,4 @@ weight: 4 name: "Consulting" -icon: "fa fa-lightbulb-o" +icon: "fas fa-lightbulb" description: "Fifth abundantly made Give sixth hath. Cattle creature i be don't them behold green moved fowl Moved life us beast good yielding. Have bring." diff --git a/exampleSite/data/features/email.yaml b/exampleSite/data/features/email.yaml index 327081f..bb55f37 100644 --- a/exampleSite/data/features/email.yaml +++ b/exampleSite/data/features/email.yaml @@ -1,4 +1,4 @@ weight: 5 name: "Email Marketing" -icon: "fa fa-envelope-o" +icon: "far fa-envelope" description: "Advantage old had otherwise sincerity dependent additions. It in adapted natural hastily is justice. Six draw you him full not mean evil." diff --git a/exampleSite/data/features/print.yaml b/exampleSite/data/features/print.yaml index 9057565..842c6f4 100644 --- a/exampleSite/data/features/print.yaml +++ b/exampleSite/data/features/print.yaml @@ -1,4 +1,4 @@ weight: 2 name: "Print" -icon: "fa fa-print" +icon: "fas fa-print" description: "Advantage old had otherwise sincerity dependent additions. It in adapted natural hastily is justice. Six draw you him full not mean evil." diff --git a/exampleSite/data/features/seo.yaml b/exampleSite/data/features/seo.yaml index c0f165f..924a7f0 100644 --- a/exampleSite/data/features/seo.yaml +++ b/exampleSite/data/features/seo.yaml @@ -1,4 +1,4 @@ weight: 3 name: "SEO and SEM" -icon: "fa fa-globe" +icon: "fas fa-globe" description: "Am terminated it excellence invitation projection as. She graceful shy believed distance use nay. Lively is people so basket ladies window expect." diff --git a/exampleSite/data/features/uiux.yaml b/exampleSite/data/features/uiux.yaml index 1257208..fd40682 100644 --- a/exampleSite/data/features/uiux.yaml +++ b/exampleSite/data/features/uiux.yaml @@ -1,4 +1,4 @@ weight: 6 name: "UI/UX" -icon: "fa fa-user" +icon: "fas fa-user" description: "Am terminated it excellence invitation projection as. She graceful shy believed distance use nay. Lively is people so basket ladies window expect." diff --git a/exampleSite/data/features/webdesign.yaml b/exampleSite/data/features/webdesign.yaml index 097bc1a..0ec993d 100644 --- a/exampleSite/data/features/webdesign.yaml +++ b/exampleSite/data/features/webdesign.yaml @@ -1,4 +1,4 @@ weight: 1 name: "Webdesign" -icon: "fa fa-desktop" +icon: "fas fa-desktop" description: "Fifth abundantly made Give sixth hath. Cattle creature i be don't them behold green moved fowl Moved life us beast good yielding. Have bring." -- cgit v1.2.3 From 2c951590bce77f987b14efe59647f3e48a7dd435 Mon Sep 17 00:00:00 2001 From: Salim B Date: Fri, 8 Nov 2019 16:59:44 +0100 Subject: localize 404 page; allow Markdown at more places; clickable feature icons (#184) * allow Markdown in clients (sub)title * localize 404 page * add Markdown support for recent posts title * allow Markdown in see_more section strings * allow Markdown in features names * make feature icons clickable (hyperlinks) * allow Markdown in credits strings; better bootstrapious link * make see_more section more flexible: avoid Hugo error(s) when `params.see_more.link_url` or `params.see_more.link_text` aren't defined * rename `link` key into `url` to be consistent: - since in the client YAML files the respective key is names `url`, I guess I should stick to that. - besides I've removed the one `#` I've specified as the URL in `data/features/webdesign.yaml`; originally that was intended as a "visual" hint that now it is easily possible to make the features clickable. but I guess that's not really necessary, if not even irritating. * layouts: remove double logo from 404 the changes in this commit are identical with timmn's commit 33ad328776eeb90f6d6793f7036fcb3338fb5155 * rename string to * translate remaining Catalan 404 strings * improve documentation of feature YAML files --- exampleSite/data/features/consulting.yaml | 1 + exampleSite/data/features/email.yaml | 1 + exampleSite/data/features/print.yaml | 1 + exampleSite/data/features/seo.yaml | 1 + exampleSite/data/features/uiux.yaml | 1 + exampleSite/data/features/webdesign.yaml | 1 + 6 files changed, 6 insertions(+) (limited to 'exampleSite') diff --git a/exampleSite/data/features/consulting.yaml b/exampleSite/data/features/consulting.yaml index cece32f..4284222 100644 --- a/exampleSite/data/features/consulting.yaml +++ b/exampleSite/data/features/consulting.yaml @@ -1,4 +1,5 @@ weight: 4 name: "Consulting" icon: "fas fa-lightbulb" +url: "" description: "Fifth abundantly made Give sixth hath. Cattle creature i be don't them behold green moved fowl Moved life us beast good yielding. Have bring." diff --git a/exampleSite/data/features/email.yaml b/exampleSite/data/features/email.yaml index bb55f37..42c6499 100644 --- a/exampleSite/data/features/email.yaml +++ b/exampleSite/data/features/email.yaml @@ -1,4 +1,5 @@ weight: 5 name: "Email Marketing" icon: "far fa-envelope" +url: "" description: "Advantage old had otherwise sincerity dependent additions. It in adapted natural hastily is justice. Six draw you him full not mean evil." diff --git a/exampleSite/data/features/print.yaml b/exampleSite/data/features/print.yaml index 842c6f4..6362fa3 100644 --- a/exampleSite/data/features/print.yaml +++ b/exampleSite/data/features/print.yaml @@ -1,4 +1,5 @@ weight: 2 name: "Print" icon: "fas fa-print" +url: "" description: "Advantage old had otherwise sincerity dependent additions. It in adapted natural hastily is justice. Six draw you him full not mean evil." diff --git a/exampleSite/data/features/seo.yaml b/exampleSite/data/features/seo.yaml index 924a7f0..29af3d3 100644 --- a/exampleSite/data/features/seo.yaml +++ b/exampleSite/data/features/seo.yaml @@ -1,4 +1,5 @@ weight: 3 name: "SEO and SEM" icon: "fas fa-globe" +url: "" description: "Am terminated it excellence invitation projection as. She graceful shy believed distance use nay. Lively is people so basket ladies window expect." diff --git a/exampleSite/data/features/uiux.yaml b/exampleSite/data/features/uiux.yaml index fd40682..0533859 100644 --- a/exampleSite/data/features/uiux.yaml +++ b/exampleSite/data/features/uiux.yaml @@ -1,4 +1,5 @@ weight: 6 name: "UI/UX" icon: "fas fa-user" +url: "" description: "Am terminated it excellence invitation projection as. She graceful shy believed distance use nay. Lively is people so basket ladies window expect." diff --git a/exampleSite/data/features/webdesign.yaml b/exampleSite/data/features/webdesign.yaml index 0ec993d..0731ce8 100644 --- a/exampleSite/data/features/webdesign.yaml +++ b/exampleSite/data/features/webdesign.yaml @@ -1,4 +1,5 @@ weight: 1 name: "Webdesign" icon: "fas fa-desktop" +url: "" description: "Fifth abundantly made Give sixth hath. Cattle creature i be don't them behold green moved fowl Moved life us beast good yielding. Have bring." -- cgit v1.2.3 From e45210fd7697670746444928a15e2e28eaf370e0 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Wed, 11 Dec 2019 18:33:20 +0100 Subject: Avoid markify footer. (#251) --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e91ddb2..3e7d4ce 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -109,7 +109,7 @@ paginate = 10 logo = "img/logo.png" logo_small = "img/logo-small.png" - address = """

Universal Ltd. + address = """

Universal Ltd.
13/25 New Avenue
Newtown upon River
45Y 73J -- cgit v1.2.3 From 232f219ee77aee3b539ed18417c02e328c3b4630 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Fri, 13 Dec 2019 11:39:24 +0100 Subject: Hide dates when date is not present. (#253) * Hide dates when is not present. * Show pipe when both are present. --- exampleSite/content/blog/migrate-from-jekyll.md | 1 - 1 file changed, 1 deletion(-) (limited to 'exampleSite') diff --git a/exampleSite/content/blog/migrate-from-jekyll.md b/exampleSite/content/blog/migrate-from-jekyll.md index 1468d12..dfe0018 100644 --- a/exampleSite/content/blog/migrate-from-jekyll.md +++ b/exampleSite/content/blog/migrate-from-jekyll.md @@ -1,6 +1,5 @@ +++ title = "Migrate from Jekyll" -date = "2015-10-10T13:07:31+02:00" tags = ["ipsum"] categories = ["lorem"] banner = "img/banners/banner-5.jpg" -- cgit v1.2.3 From f4f4854e9143de5b9b27a8b7e20fd6526bd62d75 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Tue, 30 Jun 2020 15:40:37 +0200 Subject: Add google map enable param (#267) * add googlemap enable in config param * enable googlemap * add enableGoogleMaps desc in README.md * improve Google Maps widget documentation * Added if condition to div map. Co-authored-by: helight Co-authored-by: Salim B --- exampleSite/config.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3e7d4ce..ed76603 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -79,9 +79,13 @@ paginate = 10 twitter_site = "GoHugoIO" # the Twitter handle of your site (without the '@') default_sharing_image = "img/sharing-default.png" - # Google Maps API key (if not set will default to not passing a key.) + # Google Maps widget: If `googleMapsApiKey` is not set, no key will be passed to Google (which likely results in a broken map widget). + enableGoogleMaps = true googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" + latitude = "-12.043333" + longitude = "-77.028333" + # Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet style = "default" @@ -118,8 +122,6 @@ paginate = 10 Great Britain

""" - latitude = "-12.043333" - longitude = "-77.028333" [Permalinks] blog = "/blog/:year/:month/:day/:filename/" -- cgit v1.2.3 From 0da0cd586b31910adacab46fe1f12dcec1ee6e72 Mon Sep 17 00:00:00 2001 From: junichim Date: Wed, 4 Nov 2020 16:41:45 +0900 Subject: fixed to Formspree new form style (#276) * fixed to Formspree new form style * change variable name to formspree_action * change formspree_action variable to have all the url --- exampleSite/config.toml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ed76603..a4abbc0 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -91,18 +91,19 @@ paginate = 10 # Since this template is static, the contact form uses www.formspree.io as a # proxy. The form makes a POST request to their servers to send the actual - # email. Visitors can send up to a 1000 emails each month for free. + # email. Visitors can send up to a 50 emails each month for free. # # What you need to do for the setup? # - # - set your email address under 'email' below + # - register your account to https://formspree.io/register + # - login and create new form + # - set your form's endpoint url under 'formspree_action' below # - upload the generated site to your server - # - send a dummy email yourself to confirm your account - # - click the confirm link in the email from www.formspree.io + # - test a dummy email yourself # - you're done. Happy mailing! # - # Enable the contact form by entering your Formspree.io email - email = "your@email.com" + # Enable the contact form by entering your Formspree.io endpoint url + formspree_action = "https://formspree.io/sample/of/endpoint" contact_form_ajax = false about_us = "

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

" -- cgit v1.2.3 From 23c6efbbe23c37a06d31bb80ae9ceea276a0bc12 Mon Sep 17 00:00:00 2001 From: Salim B Date: Thu, 8 Apr 2021 07:47:47 +0000 Subject: harmonize config key capitalization (#289) --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a4abbc0..61a6eb9 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -124,7 +124,7 @@ paginate = 10

""" -[Permalinks] +[permalinks] blog = "/blog/:year/:month/:day/:filename/" # Enable or disable top bar with social icons -- cgit v1.2.3 From 5842278182875c330c809a816fab14e5e5731e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20Sep=C3=BAlveda?= Date: Mon, 26 Jul 2021 03:17:03 -0400 Subject: GitHub actions deploy example to gh pages (#297) * Create main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update main.yml * Update config.toml * Update main.yml * Works and deploys * Update config.toml * Update config.toml * Update main.yml * Update main.yml * update URL base for the example to work * Update config.toml * add suggested edits --- exampleSite/config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 61a6eb9..b249839 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,4 +1,4 @@ -baseurl = "https://example.org" +baseurl = "https://devcows.github.io/hugo-universal-theme/" # Configure URL. if using gh-pages https://github.com//hugo-universal-theme URL: https://.github.io/hugo-universal-theme/ title = "Universal" theme = "hugo-universal-theme" themesDir = "../.." @@ -10,6 +10,7 @@ disqusShortname = "devcows" # Enable Google Analytics by entering your tracking code googleAnalytics = "" + # Define the number of posts per page paginate = 10 -- cgit v1.2.3 From 411f6cc00ef3b748dafecffbcff51c925a6a5a19 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Sat, 31 Jul 2021 18:17:36 +0200 Subject: Small fixes on demosite header. --- exampleSite/config.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b249839..9108211 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -65,7 +65,7 @@ paginate = 10 [[menu.topbar]] weight = 4 name = "Email" - url = "mailto:your@email.com" + url = "mailto:hello@universal.com" pre = "" [params] @@ -132,8 +132,8 @@ paginate = 10 [params.topbar] enable = true text = """ - """ -- cgit v1.2.3 From 5138c9ad5e0d207aa0235511e2070c95ef941931 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Sun, 1 Aug 2021 01:06:32 +0200 Subject: Carousel customizable. (#300) Co-authored-by: Guillermo Guerrero Ibarra --- exampleSite/config.toml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9108211..34ca6cb 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -143,11 +143,26 @@ paginate = 10 tags = true search = true -[params.carousel] - enable = true +[params.carouselCustomers] + items = 6 + auto_play = false + slide_speed = 2000 + pagination_speed = 1000 + +[params.carouselTestimonals] + items = 4 + auto_play = false + slide_speed = 2000 + pagination_speed = 1000 + +[params.carouselHomepage] # All carousel items are defined in their own files. You can find example items # at 'exampleSite/data/carousel'. # For more informtion take a look at the README. + enable = true + auto_play = true + slide_speed = 2000 + pagination_speed = 1000 [params.features] enable = true -- cgit v1.2.3 From 26b26a7eb18a0ffb759b1ebed9e8510f84670738 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Sun, 1 Aug 2021 01:17:58 +0200 Subject: PoC of custom.css (#301) Co-authored-by: Guillermo Guerrero Ibarra --- exampleSite/static/css/custom.css | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 exampleSite/static/css/custom.css (limited to 'exampleSite') diff --git a/exampleSite/static/css/custom.css b/exampleSite/static/css/custom.css new file mode 100644 index 0000000..34b59c5 --- /dev/null +++ b/exampleSite/static/css/custom.css @@ -0,0 +1,11 @@ +/* your styles go here */ +/* Example site test */ + +.box-image-text .image { + min-height: 200px; + max-height: 200px; +} + +.box-simple { + min-height: 230px; +} -- cgit v1.2.3 From e265efc6bf6c290bd46c545c98f5ad892fb06857 Mon Sep 17 00:00:00 2001 From: Michael Gisbers Date: Mon, 2 Aug 2021 01:00:22 +0200 Subject: list all categories of an entry; upper categories in sidebar widget (#303) * list all categories of an entry; upper categories in sidebar widget * deduplicate code * add post with multiple categories * Removed space. * New label. * rollback. Co-authored-by: Guillermo Guerrero Ibarra --- exampleSite/content/blog/categories-post.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 exampleSite/content/blog/categories-post.md (limited to 'exampleSite') diff --git a/exampleSite/content/blog/categories-post.md b/exampleSite/content/blog/categories-post.md new file mode 100644 index 0000000..01eb130 --- /dev/null +++ b/exampleSite/content/blog/categories-post.md @@ -0,0 +1,19 @@ ++++ +title = "Categories Post" +date = "2021-08-01T21:29:20+02:00" +tags = ["golang", "programming", "theme", "hugo"] +categories = ["programming","lorem","pseudo"] +banner = "img/banners/banner-4.jpg" +author = "John Doe" ++++ + +I'm a post with multiple categories in the frontmatter: + + categories = ["programming","lorem","pseudo"] + + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus. Pellentesque sed tempus risus. Proin id hendrerit ante. Vestibulum vitae urna ut mauris ultricies dignissim. Ut ante turpis, tristique vitae sagittis quis, sagittis nec diam. Fusce pulvinar cursus porta. Vivamus maximus leo dolor, ut pellentesque lorem fringilla nec. Mauris faucibus turpis posuere sapien euismod, a ullamcorper mi maximus. + +Morbi varius ex vel justo dictum placerat. Sed ac arcu pretium, varius elit eget, gravida purus. Fusce sit amet massa mollis eros tincidunt sollicitudin. Suspendisse iaculis cursus mauris ut sagittis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Maecenas elit ligula, molestie quis magna eu, semper posuere lorem. Mauris a justo pharetra, congue ex eget, tincidunt massa. Maecenas sit amet neque lorem. + +Curabitur at elementum quam. Curabitur tristique elit non sapien aliquam vulputate. Vivamus in odio tincidunt, tempor sem quis, tincidunt lacus. Mauris pulvinar nunc sed tempus dictum. Nam vel arcu quis mi fermentum ullamcorper non ac lacus. Donec aliquet vitae ante at imperdiet. Aenean scelerisque venenatis urna, eget elementum risus convallis ac. Nullam gravida arcu lacus, non consectetur augue pretium non. Duis dignissim eros id urna pretium congue. Nullam eu magna in sem sollicitudin tempor. Pellentesque vel convallis ligula. Quisque semper, turpis a rhoncus efficitur, magna nibh iaculis elit, eget tempor dolor eros ut mi. Maecenas eu placerat lacus. Praesent congue pretium nulla, sed suscipit metus rutrum vel. -- cgit v1.2.3 From abd457f0d0199243eedbbb985df0d51608f6d45e Mon Sep 17 00:00:00 2001 From: g0hl1n Date: Mon, 2 Aug 2021 01:10:49 +0200 Subject: Add recent posts parameter to hide summary (#283) Introduce a recent_posts.hide_summary flag to not show the contents summary in the recent posts section. Signed-off-by: Richard Leitner --- exampleSite/config.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 34ca6cb..c4fda7a 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -198,3 +198,4 @@ paginate = 10 enable = true title = "From our blog" subtitle = "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo." + hide_summary = false -- cgit v1.2.3 From 965e6c27a31f735d4ca260877fed02ea62f0b7d3 Mon Sep 17 00:00:00 2001 From: Michael Gisbers Date: Wed, 4 Aug 2021 15:55:35 +0200 Subject: Use authors taxonomy and list all posts on a draft user's page (#306) * add taxonomies to config.toml * change blog posts to use 'authors' instead of 'author'; add author 'Jane Doe' * draft for user page listing all user posts * change from using 'author' to 'authors' * remove space before comma for multiple authors * remove authors/list.html to get same look like tags/categories listing --- exampleSite/config.toml | 5 +++++ exampleSite/content/blog/categories-post.md | 2 +- exampleSite/content/blog/creating-a-new-theme.md | 1 + exampleSite/content/blog/linked-post.md | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c4fda7a..b7276db 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -199,3 +199,8 @@ paginate = 10 title = "From our blog" subtitle = "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo." hide_summary = false + +[taxonomies] + category = "categories" + tag = "tags" + author = "authors" diff --git a/exampleSite/content/blog/categories-post.md b/exampleSite/content/blog/categories-post.md index 01eb130..55f2b78 100644 --- a/exampleSite/content/blog/categories-post.md +++ b/exampleSite/content/blog/categories-post.md @@ -4,7 +4,7 @@ date = "2021-08-01T21:29:20+02:00" tags = ["golang", "programming", "theme", "hugo"] categories = ["programming","lorem","pseudo"] banner = "img/banners/banner-4.jpg" -author = "John Doe" +authors = ["John Doe"] +++ I'm a post with multiple categories in the frontmatter: diff --git a/exampleSite/content/blog/creating-a-new-theme.md b/exampleSite/content/blog/creating-a-new-theme.md index 799a813..233b293 100644 --- a/exampleSite/content/blog/creating-a-new-theme.md +++ b/exampleSite/content/blog/creating-a-new-theme.md @@ -5,6 +5,7 @@ tags = ["theme"] categories = ["starting"] description = "This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content." banner = "img/banners/banner-1.jpg" +authors = ["Jane Doe"] +++ ## Introduction diff --git a/exampleSite/content/blog/linked-post.md b/exampleSite/content/blog/linked-post.md index f2793d1..6463eca 100644 --- a/exampleSite/content/blog/linked-post.md +++ b/exampleSite/content/blog/linked-post.md @@ -4,7 +4,7 @@ date = "2015-10-02T21:49:20+02:00" tags = ["golang", "programming", "theme", "hugo"] categories = ["programming"] banner = "img/banners/banner-4.jpg" -author = "John Doe" +authors = ["John Doe","Jane Doe"] +++ I'm a linked post in the menu. You can add other posts by adding the following line to the frontmatter: -- cgit v1.2.3 From cb2d782ffa3f198469c54070a7a3c5eb0e5b0849 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Ibarra Date: Wed, 4 Aug 2021 20:13:41 +0200 Subject: Enable maps token for demo. --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b7276db..328fc66 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -82,7 +82,7 @@ paginate = 10 # Google Maps widget: If `googleMapsApiKey` is not set, no key will be passed to Google (which likely results in a broken map widget). enableGoogleMaps = true - googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y" + googleMapsApiKey = "AIzaSyAv7Sza8NSp9_l_g8G2vlo0H4ydEPn_2jY" latitude = "-12.043333" longitude = "-77.028333" -- cgit v1.2.3