annotate static/tpl/special-orphans.html @ 113:74eb145eb839

Fixed some problems with URLs in the front-end.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 16 Nov 2013 08:36:02 -0800
parents b03f083c3a29
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
1 <article>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
2 <header>
17
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 <h1>Orphaned Pages</h1>
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
4 </header>
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
5 <section>
17
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 <p>The following pages are not linked to by any other page in the wiki.</p>
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 <p><span class="label label-info">Note</span> The main page can occasionally show up here but that's OK since it's the page visitors will see first anyway.</p>
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 {{#if orphans}}
71
1d004c53f2b2 Changed layout for orphaned pages.
Ludovic Chabant <ludovic@chabant.com>
parents: 60
diff changeset
9 <ul>
17
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 {{#each orphans}}
113
74eb145eb839 Fixed some problems with URLs in the front-end.
Ludovic Chabant <ludovic@chabant.com>
parents: 89
diff changeset
11 <li><a href="{{get_read_url meta.url}}">{{meta.title}}</a></li>
17
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 {{/each}}
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
13 </ul>
17
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 {{else}}
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 <p>No orphaned pages!</p>
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 {{/if}}
89
b03f083c3a29 Lots of HTML/JS/Less changes:
Ludovic Chabant <ludovic@chabant.com>
parents: 71
diff changeset
17 </section>
17
8a4e0fe2c689 Added "Special Pages" section:
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 </article>