Skip to content

Commit

Permalink
Fixed broken links in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmerfield committed Apr 10, 2019
1 parent db9ae85 commit 3c6af6b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 31 deletions.
6 changes: 3 additions & 3 deletions app/brochure/views/developers/how-blot-works.html
Expand Up @@ -7,7 +7,7 @@ <h1>How Blot works</h1>
<p><ol>
<li>Check if there is a template whose route matches the request’s path. <a href="#rendering">Render the template</a> if it matches.</li>
<li>Check if there is a file which matches the request’s path in your blog’s folder. <a href="/publishing/public-files">Send the file</a> as a response if it matches.</li>
<li>Check your site&apos;s list of <a href="/configuring/redirects">redirects</a>.</li>
<li>Check your site&apos;s list of <a href="/settings/urls/redirects">redirects</a>.</li>
<li>Render your blog’s error page if it exists, if not render Blot's error page.</li>
</ol></p>

Expand All @@ -18,12 +18,12 @@ <h2>Routing</h2>
<p><ol>
<li>Check if there is a template whose route matches the request’s path. <a href="#rendering">Render the template</a> if it matches.</li>
<li>Check if there is a file which matches the request’s path in your blog’s folder. <a href="/publishing/public-files">Send the file</a> as a response if it matches.</li>
<li>Check your site&apos;s list of <a href="/configuring/redirects">redirects</a>.</li>
<li>Check your site&apos;s list of <a href="/settings/urls/redirects">redirects</a>.</li>
<li>Render your blog’s error page.</li>
</ol></p>

<h2>What if a blog post and a file share the same URL?</h2>
<p>Blot shows the blog post instead of the file. This is because Blot <a href="/developers#routing">routes requests</a> from your readers to your blog’s template first. If you prefer, you can <a href="/theme">disable your blog’s template</a> on the dashboard and just use Blot as a static file server.</p>
<p>Blot shows the blog post instead of the file. This is because Blot <a href="/developers#routing">routes requests</a> from your readers to your blog’s template first. If you prefer, you can <a href="/settings/theme">disable your blog’s template</a> on the dashboard and just use Blot as a static file server.</p>
</div>
<h2 id="rendering">Rendering</h2>
<p>Blot's templates are written in <a href="https://mustache.github.io/">Mustache</a>.
Expand Down
10 changes: 3 additions & 7 deletions app/brochure/views/developers/index.html
Expand Up @@ -47,11 +47,11 @@

<h2>Getting started</h2>

<p>You can <a href="/theme/new">create a new template</a> 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 <a href="https://github.com/davidmerfield/Blot/blob/master/license.txt">dedicated to the public domain</a> so you can modify and share them freely.</p>
<p>You can <a href="/settings/theme">create a new template</a> 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 <a href="https://github.com/davidmerfield/Blot/blob/master/license.txt">dedicated to the public domain</a> so you can modify and share them freely.</p>

<h2>How Blot works</h2>

<p>The template system sits on top of a plain, old-fashioned static file server. In fact, if you <a href="/settings/theme/disable">disable your blog's template</a>, Blot serves the contents of your blog's folder as-is.</p>
<p>The template system sits on top of a plain, old-fashioned static file server. In fact, if you <a href="/settings/theme">disable your blog's template</a>, Blot serves the contents of your blog's folder as-is.</p>

<a href="/developers/how-blot-works">Read more about how Blot works</a>

Expand All @@ -61,10 +61,6 @@ <h2>Rendering templates</h2>

<a href="/developers/rendering-templates">Read about rendering templates</a>

<h2>Reference</h2>

<ul class="clients">
<li><a href="/developers/reference/blog"><strong>Blog</strong><br> A lightweight markup language with plain text formatting syntax.</a> </li>
<li><a href="/developers/reference/lists-of-entries"><strong>Lists of entries</strong><br> A custom Markdown extension which offers simple layout directives.</a> </li>
<li><a href="/developers/reference/entry"><strong>Entry</strong><br> A math typesetting library with powerful formatting features.</a> </li>
<li><a href="/developers/reference"><strong>Reference</strong><br> Read a reference of the properties you can use in your template.</a> </li>
</ul
20 changes: 0 additions & 20 deletions app/brochure/views/developers/rendering-templates.html
Expand Up @@ -330,23 +330,3 @@ <h3 id="Set-Delimiter">Set Delimiter</h3>
markup."</p>

<p>Custom delimiters may not contain whitespace or the equals sign.</p>

<h2 id="COPYRIGHT">COPYRIGHT</h2>

<p>Mustache is Copyright (C) 2009 Chris Wanstrath</p>

<p>Original CTemplate by Google</p>

<h2 id="SEE-ALSO">SEE ALSO</h2>

<p><a class="man-ref" href="mustache.1.ron.html">mustache<span class="s">(1)</span></a>,
<a href="http://mustache.github.io/" data-bare-link="true">http://mustache.github.io/</a></p>


<ol class='man-decor man-foot man foot'>
<li class='tl'>DEFUNKT</li>
<li class='tc'>April 2014</li>
<li class='tr'>mustache(5)</li>
</ol>

</div>
2 changes: 1 addition & 1 deletion app/brochure/views/templates/index.html
@@ -1,6 +1,6 @@
<h1>Templates</h1>

<p>Blot comes with seven templates. You can <a href="/configuring">customize an existing template</a> or <a href="/developers">develop your own template</a> from scratch. The <a href="https://github.com/davidmerfield/Blot/tree/master/app/templates">source code</a> for these templates is dedicated to the public domain. </p>
<p>Blot comes with seven templates. You can <a href="/settings/theme">customize an existing template</a> or <a href="/developers">develop your own template</a> from scratch. The <a href="https://github.com/davidmerfield/Blot/tree/master/app/templates">source code</a> for these templates is dedicated to the public domain. </p>


<ul class="templates">
Expand Down

0 comments on commit 3c6af6b

Please sign in to comment.