1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 01:26:18 +00:00
TiddlyWiki5/core/templates/PageTemplate.tid
2013-02-04 11:56:23 +00:00

36 lines
1011 B
Plaintext

title: $:/templates/PageTemplate
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
<$navigator story="$:/StoryList" history="$:/HistoryList">
<!-- The sidebar header -->
<header class="sidebar-header">
<div>
{{SiteTitle}}<br><small>{{SiteSubtitle}}</small>
</div>
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" listview=classic itemClass="tw-menu-list-item"/>
<div class="edit-controls">
<$button message="tw-NewTiddler" class="btn btn-mini btn-success">New</$button>
<$button message="tw-save-wiki" class="btn btn-mini btn-primary">Save</$button>
</div>
</header>
<!-- The story river -->
<section class="story-river">
<!-- The main story -->
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/templates/ViewTemplate" editTemplate="$:/templates/EditTemplate" listview="scroller" itemClass="tw-tiddler-frame"/>
<!-- Config area -->
{{$:/snippets/encryptionstatus}}
<!-- End of story river -->
</section>
</$navigator>