<template name="PagesShow">
  <ol class="breadcrumb">
    <li><a href="/">Letterhead</a></li>
    <li><a href="{{pathFor 'pages.index'}}">Pages</a></li>
    <li>{{title}}</li>
  </ol>

  <article>
    {{#if editTitle}}
      {{> PageTitleEdit}}
    {{else}}
      {{> PageTitleShow}}
    {{/if}}

    {{#each paragraphs}}
      <p>{{{content}}}</p>
      <a href="#">
        <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
        Edit paragraph
      </a>
      <br />
      <br />
    {{/each}}

    <a href="#">
      <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
      Add paragraph
    </a>
  </article>
</template>

<template name="PagesShow">
  <ol class="breadcrumb">
    <li><a href="/">Letterhead</a></li>
    <li><a href="{{pathFor 'pages.index'}}">Pages</a></li>
    <li>{{title}}</li>
  </ol>

  <article>
    {{#if editTitle}}
      {{> PageTitleEdit}}
    {{else}}
      {{> PageTitleShow}}
    {{/if}}

    {{#each paragraphs}}
      <p>
        {{{content}}}
        {{#if currentUser}}
          <a href="#">
            <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
          </a>
        {{/if}}
      </p>
    {{/each}}

    {{#if currentUser}}
      <a href="#">
        <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
        Add paragraph
      </a>
    {{/if}}
  </article>
</template>

Hide editing elements when logged out
Hide editing elements when logged out
