From f962ed5ba8c27ddecaf632b82a77bb739704089b Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Mon, 24 Jul 2023 12:08:05 +0200 Subject: [PATCH 1/2] Fixing typos --- README.md | 4 ++-- exampleSite/.gitignore | 3 +++ exampleSite/content/about.md | 4 ++-- exampleSite/content/post/emoji-support.md | 2 +- exampleSite/netlify.toml | 2 +- exampleSiteMultilingual/.gitignore | 3 +++ exampleSiteMultilingual/content/about.md | 4 ++-- exampleSiteMultilingual/content/about.pl.md | 4 ++-- exampleSiteMultilingual/netlify.toml | 2 +- layouts/partials/graphcomment.html | 2 +- netlify.toml | 2 +- 11 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 exampleSite/.gitignore create mode 100644 exampleSiteMultilingual/.gitignore diff --git a/README.md b/README.md index bf17d4f..c1ee69f 100644 --- a/README.md +++ b/README.md @@ -212,7 +212,7 @@ Example: Config like this generate github icon with "https://github.com/gohugoio" url. #### Predefined icons with custom url -To add prefedined icon with custom url, add to `params.social` config: +To add predefined icon with custom url, add to `params.social` config: - id of social network - full url to your network @@ -247,7 +247,7 @@ Check config/example usage in [exampleSiteMultilingual](https://github.com/Mitri ### RSS RSS is available by site url + /index.xml. Also available for specific language, section, taxonomy. -`rssAsSocialIcon` parameter enables rss sosial icon with link to site current language RSS. +`rssAsSocialIcon` parameter enables rss social icon with link to site current language RSS. ### Robots.txt Based on environment. diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore new file mode 100644 index 0000000..df410c6 --- /dev/null +++ b/exampleSite/.gitignore @@ -0,0 +1,3 @@ +.hugo_build.lock +public/ +resources/ \ No newline at end of file diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md index 6040fc8..9a3df26 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about.md @@ -21,7 +21,7 @@ menu: weight: 10 --- -Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. +Written in Go, Hugo is an open source static site generator available under the [Apache License 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. Hugo makes use of a variety of open source projects including: @@ -35,7 +35,7 @@ Hugo is ideal for blogs, corporate websites, creative portfolios, online magazin Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. -Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. +Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. Learn more and contribute on [GitHub](https://github.com/gohugoio). diff --git a/exampleSite/content/post/emoji-support.md b/exampleSite/content/post/emoji-support.md index ecf6c86..66c5d44 100644 --- a/exampleSite/content/post/emoji-support.md +++ b/exampleSite/content/post/emoji-support.md @@ -18,7 +18,7 @@ To enable emoji globally, set `enableEmoji` to `true` in your site’s [configur

πŸ™ˆ :see_no_evil: πŸ™‰ :hear_no_evil: πŸ™Š :speak_no_evil:


-The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. +The [Emoji cheat sheet](https://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. *** diff --git a/exampleSite/netlify.toml b/exampleSite/netlify.toml index a7f6233..8b1ea78 100644 --- a/exampleSite/netlify.toml +++ b/exampleSite/netlify.toml @@ -3,6 +3,6 @@ publish = "public" command = "hugo --gc --minify" [context.production.environment] -HUGO_VERSION = "0.92.0" +HUGO_VERSION = "0.115.4" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" \ No newline at end of file diff --git a/exampleSiteMultilingual/.gitignore b/exampleSiteMultilingual/.gitignore new file mode 100644 index 0000000..df410c6 --- /dev/null +++ b/exampleSiteMultilingual/.gitignore @@ -0,0 +1,3 @@ +.hugo_build.lock +public/ +resources/ \ No newline at end of file diff --git a/exampleSiteMultilingual/content/about.md b/exampleSiteMultilingual/content/about.md index 0c2f335..438c830 100644 --- a/exampleSiteMultilingual/content/about.md +++ b/exampleSiteMultilingual/content/about.md @@ -21,7 +21,7 @@ menu: weight: 10 --- -Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. +Written in Go, Hugo is an open source static site generator available under the [Apache License 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. Hugo makes use of a variety of open source projects including: @@ -35,7 +35,7 @@ Hugo is ideal for blogs, corporate websites, creative portfolios, online magazin Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. -Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. +Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. Learn more and contribute on [GitHub](https://github.com/gohugoio). diff --git a/exampleSiteMultilingual/content/about.pl.md b/exampleSiteMultilingual/content/about.pl.md index 0c2f335..438c830 100644 --- a/exampleSiteMultilingual/content/about.pl.md +++ b/exampleSiteMultilingual/content/about.pl.md @@ -21,7 +21,7 @@ menu: weight: 10 --- -Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. +Written in Go, Hugo is an open source static site generator available under the [Apache License 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. Hugo makes use of a variety of open source projects including: @@ -35,7 +35,7 @@ Hugo is ideal for blogs, corporate websites, creative portfolios, online magazin Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. -Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. +Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. Learn more and contribute on [GitHub](https://github.com/gohugoio). diff --git a/exampleSiteMultilingual/netlify.toml b/exampleSiteMultilingual/netlify.toml index a7f6233..8b1ea78 100644 --- a/exampleSiteMultilingual/netlify.toml +++ b/exampleSiteMultilingual/netlify.toml @@ -3,6 +3,6 @@ publish = "public" command = "hugo --gc --minify" [context.production.environment] -HUGO_VERSION = "0.92.0" +HUGO_VERSION = "0.115.4" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" \ No newline at end of file diff --git a/layouts/partials/graphcomment.html b/layouts/partials/graphcomment.html index 41960a7..9cd1d28 100644 --- a/layouts/partials/graphcomment.html +++ b/layouts/partials/graphcomment.html @@ -8,7 +8,7 @@ behaviour: { // HIGHLY RECOMMENDED - // uid: "...", // uniq identifer for the comments thread on your page (ex: your page id) + // uid: "...", // unique identifier for the comments thread on your page (ex: your page id) }, // configure your variables here diff --git a/netlify.toml b/netlify.toml index b41ac36..c81d590 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "exampleSiteMultilingual/public" command = "cd exampleSiteMultilingual && hugo --themesDir=../.. --baseURL $URL" [build.environment] -HUGO_VERSION = "0.92.0" +HUGO_VERSION = "0.115.4" HUGO_THEME = "repo" [context.deploy-preview] From 544c542087f766e30da74efbcd6410bbea0f476c Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Mon, 24 Jul 2023 12:22:51 +0200 Subject: [PATCH 2/2] Fix multilingual example site Rename config.toml to hugo.toml --- exampleSite/{config.toml => hugo.toml} | 0 exampleSiteMultilingual/{config.toml => hugo.toml} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename exampleSite/{config.toml => hugo.toml} (100%) rename exampleSiteMultilingual/{config.toml => hugo.toml} (98%) diff --git a/exampleSite/config.toml b/exampleSite/hugo.toml similarity index 100% rename from exampleSite/config.toml rename to exampleSite/hugo.toml diff --git a/exampleSiteMultilingual/config.toml b/exampleSiteMultilingual/hugo.toml similarity index 98% rename from exampleSiteMultilingual/config.toml rename to exampleSiteMultilingual/hugo.toml index c8a8807..9f840cf 100644 --- a/exampleSiteMultilingual/config.toml +++ b/exampleSiteMultilingual/hugo.toml @@ -83,7 +83,7 @@ name = "Archiwum" url = "/posts/" weight = 3 -[[languages.pl.params]] +[languages.pl.params] locale = "pl-pl" [taxonomies]