1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-20 00:34:50 +00:00
TiddlyWiki5/core/templates/PageTemplate.tid

33 lines
980 B
Plaintext

title: $:/templates/PageTemplate
<!-- The navigator catches navigation events and updates the story and history tiddlers -->
<$navigator story="$:/StoryList" history="$:/HistoryList">
<!-- The page header -->
<div class="pull-right">
<$button class="btn btn-mini btn-primary">EDIT</$button>
</div>
<div class="page-header">
! {{SiteTitle}} <small>{{SiteSubtitle}}</small>
</div>
<!-- The main display container -->
<div class="container">
<div class="row">
<div class="span2">
<div style="position:fixed;">
<!-- The navigation menu -->
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" editTemplate="$:/templates/EditTemplate" listview=classic itemClass="tw-menu-list-item"/>
</div>
</div>
<div class="span10">
<!-- The main display -->
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/templates/ViewTemplate" editTemplate="$:/templates/EditTemplate" listview=classic itemClass="tw-tiddler-frame"/>
</div>
</div>
</div>
</$navigator>