From c06679b3798608a2b6b942862d84e6089afff409 Mon Sep 17 00:00:00 2001 From: Elias Zeitfogel Date: Sat, 26 Dec 2015 15:11:45 +0100 Subject: [PATCH] Some typos --- content/docs/deployment/contents.lr | 4 ++-- content/docs/deployment/travisci/contents.lr | 2 +- content/docs/guides/blog/contents.lr | 4 ++-- content/docs/guides/categories/contents.lr | 2 +- content/docs/guides/pagination/contents.lr | 2 +- content/docs/guides/portfolio/contents.lr | 6 +++--- content/docs/guides/single-page/contents.lr | 4 ++-- content/docs/guides/webpack/contents.lr | 6 +++--- content/docs/plugins/howto/contents.lr | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/content/docs/deployment/contents.lr b/content/docs/deployment/contents.lr index ac657ed5..2179a84c 100644 --- a/content/docs/deployment/contents.lr +++ b/content/docs/deployment/contents.lr @@ -55,7 +55,7 @@ potential deployment target add a `[servers.NAME]` section. The supported keys are `name` for an optional human readable name of the server, `enabled` to enable or disable it (defaults to `true`) and `target` which is the URL to publish to. Additionally one of the servers can have `default` set to `yes` -to set it as default. Here an example: +to set it as default. Here is an example: ```ini [servers.production] @@ -95,7 +95,7 @@ you keep your project file secure as loss of the project file can mean that people get access to your server. Alternatively you can also provide username and password through the command line of environment variables. -The following targets are supported for the `target` folder: +The following targets are supported for the `target` field: * [rsync](rsync/) * [FTP](ftp/) diff --git a/content/docs/deployment/travisci/contents.lr b/content/docs/deployment/travisci/contents.lr index c541ebd0..086c98da 100644 --- a/content/docs/deployment/travisci/contents.lr +++ b/content/docs/deployment/travisci/contents.lr @@ -57,7 +57,7 @@ configure the access credentials. We will get to that. ## Enabling Travis -So now that we have all that configured we need to tellt travis to build the +So now that we have all that configured we need to tell travis to build the repository. For that just head to your [Travis-CI Profile :ext](https://travis-ci.org/profile) and enable the repository. If it does not show up yet, you can force a sync with the click of a button. diff --git a/content/docs/guides/blog/contents.lr b/content/docs/guides/blog/contents.lr index 24be0454..add6c93b 100644 --- a/content/docs/guides/blog/contents.lr +++ b/content/docs/guides/blog/contents.lr @@ -122,7 +122,7 @@ do: {% extends "layout.html" %} {% block title %}{{ this.title }} | My Blog{% endblock %} {% block body %} - <1h>{{ this.title }} +

{{ this.title }}

by {{ this.author }} on {{ this.pub_date|dateformat('full') }} @@ -141,7 +141,7 @@ with the name of your blog. For instance just `content/blog` and put a _model: blog ``` -Now you can head to the admin to create new blog posts. +Now you can head to the admin UI to create new blog posts. ## Changing the URL Structure diff --git a/content/docs/guides/categories/contents.lr b/content/docs/guides/categories/contents.lr index c3ce2037..86adc98d 100644 --- a/content/docs/guides/categories/contents.lr +++ b/content/docs/guides/categories/contents.lr @@ -63,7 +63,7 @@ source = site.query('/project-categories') ``` The above models should be mostly clear. What is probably not entirely clear -is the `source` parameter for the categories. Esentially we instruct the +is the `source` parameter for the categories. Essentially we instruct the admin panel to fill the selection for the checkboxes from the child pages below the `project-categories` folder. This is where we will maintain the categories. diff --git a/content/docs/guides/pagination/contents.lr b/content/docs/guides/pagination/contents.lr index c147d462..44ed65bf 100644 --- a/content/docs/guides/pagination/contents.lr +++ b/content/docs/guides/pagination/contents.lr @@ -1,6 +1,6 @@ title: Pagination --- -summary: Shows how to build a pagination with Lektor +summary: Shows how to build a pagination with Lektor. --- body: diff --git a/content/docs/guides/portfolio/contents.lr b/content/docs/guides/portfolio/contents.lr index b10a9b60..ac1fbab2 100644 --- a/content/docs/guides/portfolio/contents.lr +++ b/content/docs/guides/portfolio/contents.lr @@ -12,7 +12,7 @@ assume we build a website for someone who wants to showcase their art projects. ## The Models The way we want to go about this is that we have a site where all the -projects shows up and then a detail page for each project in particular. +projects show up and then a detail page for each project in particular. ### `projects.ini` @@ -23,7 +23,7 @@ for new pages and make it impossible to delete (`protected`). This means we need to manually create the one page later which will use this. Because we only have a single page for the projects overview we give it a -label manually (`label = Projects`). +static label manually (`label = Projects`). ```ini [model] @@ -135,7 +135,7 @@ For the detail page we show all information we know about:

Description

{{ this.description }}
- {% set images = project.attachments.images.all() %} + {% set images = this.attachments.images.all() %} {% if images %}

Images

{% for image in images %} diff --git a/content/docs/guides/single-page/contents.lr b/content/docs/guides/single-page/contents.lr index 00c345bc..912ce61d 100644 --- a/content/docs/guides/single-page/contents.lr +++ b/content/docs/guides/single-page/contents.lr @@ -1,6 +1,6 @@ title: Single-Page --- -summary: Some inspiration of how to structure single page apps. +summary: Some inspiration for structuring single page apps. --- body: @@ -110,7 +110,7 @@ need to query for all the other pages we have below `doc/`: {% block body %} {% set pages = site.query('/doc').all() %}
-

{{ this.title }}

+

{{ this.title }}