From 3f177c94e491adf9b108b29292765dc43b59cf10 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 22 Jan 2018 11:26:58 +0100 Subject: [PATCH] Fix some typos (found by codespell) --- content/content-management/menus.md | 2 +- content/functions/title.md | 2 +- content/news/0.30-relnotes-ready.md | 2 +- content/news/0.34-relnotes/index.md | 2 +- content/tools/search.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/content-management/menus.md b/content/content-management/menus.md index 26c1eafad..1353ce0e2 100644 --- a/content/content-management/menus.md +++ b/content/content-management/menus.md @@ -151,7 +151,7 @@ menu: {{< /code >}} {{% note %}} -The URLs must be relative to the context root. If the `baseURL` is `https://example.com/mysite/`, then the URLs in the menu must not include the context root `mysite`. Using an absolute URL will overide the baseURL. If the value used for `URL` in the above example is `https://subdomain.example.com/`, the output will be `https://subdomain.example.com`. +The URLs must be relative to the context root. If the `baseURL` is `https://example.com/mysite/`, then the URLs in the menu must not include the context root `mysite`. Using an absolute URL will override the baseURL. If the value used for `URL` in the above example is `https://subdomain.example.com/`, the output will be `https://subdomain.example.com`. {{% /note %}} ## Nesting diff --git a/content/functions/title.md b/content/functions/title.md index e3a7e9c0b..63a34835f 100644 --- a/content/functions/title.md +++ b/content/functions/title.md @@ -24,7 +24,7 @@ aliases: [] {{title "BatMan"}}` → "Batman" ``` -Can be combined in pipes. In the following snippet, the link text is cleaned up using `humanize` to remove dashes and `title` to convert the value of `$name` to Intial Caps. +Can be combined in pipes. In the following snippet, the link text is cleaned up using `humanize` to remove dashes and `title` to convert the value of `$name` to Initial Caps. ``` {{ range $name, $items := .Site.Taxonomies.categories }} diff --git a/content/news/0.30-relnotes-ready.md b/content/news/0.30-relnotes-ready.md index 06489cb31..7c2632ae6 100644 --- a/content/news/0.30-relnotes-ready.md +++ b/content/news/0.30-relnotes-ready.md @@ -14,7 +14,7 @@ Hugo `0.30` is the **Race Car Edition**. Hugo is already very very fast, but muc The second performance-related feature is a follow-up to the Template Metrics added in Hugo `0.29`. Now, if you add the flag `--templateMetricsHints`, we will calculate a score for how your partials can be cached (with the `partialCached` template func). -This release also more or less makes the really fast Chroma highlighter a complete alternative to Pygments. Most noteable is the new table `linenos` support ([7c30e2cb](https://github.com/gohugoio/hugo/commit/7c30e2cbb08fdf0e61f80c7f1aa29909aeca4211) [@bep](https://github.com/bep) [#3915](https://github.com/gohugoio/hugo/issues/3915)), which makes copy-and-paste code blocks much easier. +This release also more or less makes the really fast Chroma highlighter a complete alternative to Pygments. Most notable is the new table `linenos` support ([7c30e2cb](https://github.com/gohugoio/hugo/commit/7c30e2cbb08fdf0e61f80c7f1aa29909aeca4211) [@bep](https://github.com/bep) [#3915](https://github.com/gohugoio/hugo/issues/3915)), which makes copy-and-paste code blocks much easier. This release represents **31 contributions by 10 contributors** to the main Hugo code base. [@bep](https://github.com/bep) leads the Hugo development with a significant amount of contribution, but also a big shoutout to [@moorereason](https://github.com/moorereason), [@digitalcraftsman](https://github.com/digitalcraftsman), and [@bmon](https://github.com/bmon) for their ongoing contributions. diff --git a/content/news/0.34-relnotes/index.md b/content/news/0.34-relnotes/index.md index de596fc62..dd5418a77 100644 --- a/content/news/0.34-relnotes/index.md +++ b/content/news/0.34-relnotes/index.md @@ -32,7 +32,7 @@ Hugo now has: * 197+ [themes](http://themes.gohugo.io/) ## Notes -* `Resources.GetByPrefix` and `Resources.ByPrefix` are depracated. They still work, but will eventually be removed. Use `Resources.Match` (many) and `Resources.GetMatch` (one). +* `Resources.GetByPrefix` and `Resources.ByPrefix` are deprecated. They still work, but will eventually be removed. Use `Resources.Match` (many) and `Resources.GetMatch` (one). * When filtering bundles pages in sub-folders, you need to include the sub-folder when matching. This was a bug introduced in `0.33` and gets it in line with images and other resources. ## Enhancements diff --git a/content/tools/search.md b/content/tools/search.md index 4d5779b9b..149bdfe05 100644 --- a/content/tools/search.md +++ b/content/tools/search.md @@ -22,7 +22,7 @@ A static website with a dynamic search function? Yes. As alternatives to embedda * [GitHub Gist for Hugo Workflow](https://gist.github.com/sebz/efddfc8fdcb6b480f567). This gist contains a simple workflow to create a search index for your static website. It uses a simple Grunt script to index all your content files and [lunr.js](http://lunrjs.com/) to serve the search results. * [hugo-lunr](https://www.npmjs.com/package/hugo-lunr). A simple way to add site search to your static Hugo site using [lunr.js](http://lunrjs.com/). Hugo-lunr will create an index file of any html and markdown documents in your Hugo project. -* [hugo-lunr-zh](https://www.npmjs.com/package/hugo-lunr-zh). A bit like Hugo-lunr, but Hugo-lunr-zh can help you seperate the Chinese keywords. +* [hugo-lunr-zh](https://www.npmjs.com/package/hugo-lunr-zh). A bit like Hugo-lunr, but Hugo-lunr-zh can help you separate the Chinese keywords. * [Github Gist for Fuse.js integration](https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae). This gist demonstrates how to leverage Hugo's existing build time processing to generate a searchable JSON index used by [Fuse.js](http://fusejs.io/) on the client side. Although this gist uses Fuse.js for fuzzy matching, any client side search tool capable of reading JSON indexes will work. Does not require npm, grunt or other build-time tools except Hugo! ## Commercial Search Services