diff --git a/app/brochure/views/developers/how-blot-works.html b/app/brochure/views/developers/how-blot-works.html index da42d5fe3ad..c8cf24165c5 100644 --- a/app/brochure/views/developers/how-blot-works.html +++ b/app/brochure/views/developers/how-blot-works.html @@ -7,7 +7,7 @@

How Blot works

  1. Check if there is a template whose route matches the request’s path. Render the template if it matches.
  2. Check if there is a file which matches the request’s path in your blog’s folder. Send the file as a response if it matches.
  3. -
  4. Check your site's list of redirects.
  5. +
  6. Check your site's list of redirects.
  7. Render your blog’s error page if it exists, if not render Blot's error page.

@@ -18,12 +18,12 @@

Routing

  1. Check if there is a template whose route matches the request’s path. Render the template if it matches.
  2. Check if there is a file which matches the request’s path in your blog’s folder. Send the file as a response if it matches.
  3. -
  4. Check your site's list of redirects.
  5. +
  6. Check your site's list of redirects.
  7. Render your blog’s error page.

What if a blog post and a file share the same URL?

-

Blot shows the blog post instead of the file. This is because Blot routes requests from your readers to your blog’s template first. If you prefer, you can disable your blog’s template on the dashboard and just use Blot as a static file server.

+

Blot shows the blog post instead of the file. This is because Blot routes requests from your readers to your blog’s template first. If you prefer, you can disable your blog’s template on the dashboard and just use Blot as a static file server.

Rendering

Blot's templates are written in Mustache. diff --git a/app/brochure/views/developers/index.html b/app/brochure/views/developers/index.html index 638fe365a7c..6c1e2766d93 100644 --- a/app/brochure/views/developers/index.html +++ b/app/brochure/views/developers/index.html @@ -47,11 +47,11 @@

Getting started

-

You can create a new template on the your blog’s dashboard. You can make changes to a template using the online editor, or you can sync the template’s source files to your blog’s folder and edit them directly. All of Blot’s templates are dedicated to the public domain so you can modify and share them freely.

+

You can create a new template on the your blog’s dashboard. You can make changes to a template using the online editor, or you can sync the template’s source files to your blog’s folder and edit them directly. All of Blot’s templates are dedicated to the public domain so you can modify and share them freely.

How Blot works

-

The template system sits on top of a plain, old-fashioned static file server. In fact, if you disable your blog's template, Blot serves the contents of your blog's folder as-is.

+

The template system sits on top of a plain, old-fashioned static file server. In fact, if you disable your blog's template, Blot serves the contents of your blog's folder as-is.

Read more about how Blot works @@ -61,10 +61,6 @@

Rendering templates

Read about rendering templates -

Reference

- Set Delimiter markup."

Custom delimiters may not contain whitespace or the equals sign.

- - - -

Mustache is Copyright (C) 2009 Chris Wanstrath

- -

Original CTemplate by Google

- -

SEE ALSO

- -

mustache(1), -http://mustache.github.io/

- - -
    -
  1. DEFUNKT
  2. -
  3. April 2014
  4. -
  5. mustache(5)
  6. -
- - \ No newline at end of file diff --git a/app/brochure/views/templates/index.html b/app/brochure/views/templates/index.html index d7563612459..6fcd67e48ab 100644 --- a/app/brochure/views/templates/index.html +++ b/app/brochure/views/templates/index.html @@ -1,6 +1,6 @@

Templates

-

Blot comes with seven templates. You can customize an existing template or develop your own template from scratch. The source code for these templates is dedicated to the public domain.

+

Blot comes with seven templates. You can customize an existing template or develop your own template from scratch. The source code for these templates is dedicated to the public domain.