From ae9025399dfa9b986a9cc7ad07f8dd19ec55b31e Mon Sep 17 00:00:00 2001 From: William Vincent Date: Sat, 17 Sep 2016 15:55:35 -0400 Subject: [PATCH] Fix grammatical typos A few small things... --- content/docs/api/db/pad/contents.lr | 2 +- content/docs/content/alts/contents.lr | 2 +- content/docs/contents.lr | 2 +- content/docs/guides/contents.lr | 4 ++-- content/docs/guides/sitemap/contents.lr | 4 ++-- content/docs/project/structure/contents.lr | 4 ++-- content/docs/templates/navigation/contents.lr | 2 +- content/downloads/contents.lr | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/content/docs/api/db/pad/contents.lr b/content/docs/api/db/pad/contents.lr index 9fca9aaf..51c1785f 100644 --- a/content/docs/api/db/pad/contents.lr +++ b/content/docs/api/db/pad/contents.lr @@ -28,7 +28,7 @@ command line scripts. ## Template Usage A ready-configured pad is always available under the `site` name which -allows you to easily discover other pages. Here a basic example of +allows you to easily discover other pages. Here is a basic example of how to do this through the [get :ref](get/) method: ```html+jinja diff --git a/content/docs/content/alts/contents.lr b/content/docs/content/alts/contents.lr index 27d7b018..b5f17b4e 100644 --- a/content/docs/content/alts/contents.lr +++ b/content/docs/content/alts/contents.lr @@ -4,7 +4,7 @@ summary: Alternatives allow you to localize or internationalize a site. --- body: -One particular useful feature of Lektor is the ability to define alternatives +One particularly useful feature of Lektor is the ability to define alternatives to a content file. This allows you to translate your website into many different languages or to customize content specifically for some languages or regions. diff --git a/content/docs/contents.lr b/content/docs/contents.lr index dd74bb48..531a8c07 100644 --- a/content/docs/contents.lr +++ b/content/docs/contents.lr @@ -11,7 +11,7 @@ about how to use Lektor from both a developer's as well as an end user's point of view. New to Lektor? Then read about [what makes Lektor special :ref](what/). -The documentation is work in progress and there will be areas that are +The documentation is a work in progress and there will be areas that are lacking. If you have any feedback or you want to help out with the documentation project you can head over to the [GitHub Repository :ext](https://github.com/lektor/lektor-website) of this website. diff --git a/content/docs/guides/contents.lr b/content/docs/guides/contents.lr index f5655c03..054f4a66 100644 --- a/content/docs/guides/contents.lr +++ b/content/docs/guides/contents.lr @@ -8,7 +8,7 @@ allow_comments: no --- body: -Because Lektor is quite a generic system, sometimes I might not be quite +Because Lektor is quite a generic system, sometimes it might not be quite obvious what the best course of action is. This part of the documentation -contains some guides that should help find inspiration for solving certain +contains some guides that should help you find inspiration for solving certain problems. diff --git a/content/docs/guides/sitemap/contents.lr b/content/docs/guides/sitemap/contents.lr index b8a36913..da5a5b5b 100644 --- a/content/docs/guides/sitemap/contents.lr +++ b/content/docs/guides/sitemap/contents.lr @@ -5,7 +5,7 @@ summary: Quick demo of how to build a custom sitemap.xml. body: If you want to have a `sitemap.xml` file for search engines this is something -you can very easily create yourself. All you need for that is a contents file +you can very easily create yourself. All you need is a contents file and a custom template. ## Contents File @@ -23,7 +23,7 @@ _model: none This instructs Lektor to use the template `sitemap.xml` for this page. We also give it the empty `none` model for good measure. -!!! Starting with Lektor 2.0 you can also add `_discoverable: no` as field +!!! Starting with Lektor 2.0 you can also add `_discoverable: no` as a field into the file to hide it from `.children`. This is useful for such special pages which should be excluded from navigation or automatic link generation. diff --git a/content/docs/project/structure/contents.lr b/content/docs/project/structure/contents.lr index bd6e7c77..09a31844 100644 --- a/content/docs/project/structure/contents.lr +++ b/content/docs/project/structure/contents.lr @@ -36,7 +36,7 @@ built into the final project. Each folder within corresponds to a record and the data of it is stored in the file by the name `contents.lr` within which is a Lektor content file. All other files are considered attachments. -Here a basic example layout to get an idea how this can look like: +Here is a basic example layout to get an idea how this can look like: ``` content/ @@ -103,5 +103,5 @@ files in there are named `.ini`. Lektor also supports [Data Bags :ref](../../content/databags/) which go into a folder named `databags/`. These are files with some general information that can be accessed from templates. For instance you could store menus and -navigations there, API keys and much more. This is generally just information +navigations there, API keys and much more. This is generally just information you want to access from different places and maybe not keep in templates directly. diff --git a/content/docs/templates/navigation/contents.lr b/content/docs/templates/navigation/contents.lr index 749c5759..80ed391a 100644 --- a/content/docs/templates/navigation/contents.lr +++ b/content/docs/templates/navigation/contents.lr @@ -41,7 +41,7 @@ a child of the given path. Based on that information we automatically add a class to the link. The index page requires a bit of special casing as we do not want it to -be active if any of it's children are active. So we just check if the +be active if any of its children are active. So we just check if the path of the current page is actually the path of the index page. ## Fully Automatic Navigation diff --git a/content/downloads/contents.lr b/content/downloads/contents.lr index 6b1e03d4..2284f272 100644 --- a/content/downloads/contents.lr +++ b/content/downloads/contents.lr @@ -11,12 +11,12 @@ height: 300 ---- class: ---- -contents: +contents: #### text-block #### text: Lektor is an [Open Source Project](../license/) and freely available to -download. As it's currently still under heavy development and not all platforms +download. It's currently still under heavy development and not all platforms are equally well supported. ## Command Line Interface