diff --git a/eg/doc-site/docs.db b/eg/doc-site/docs.db index 28d076f8..e37f0ada 100644 Binary files a/eg/doc-site/docs.db and b/eg/doc-site/docs.db differ diff --git a/eg/doc-site/myapp.pl b/eg/doc-site/myapp.pl index 3878595f..cb4ecf08 100755 --- a/eg/doc-site/myapp.pl +++ b/eg/doc-site/myapp.pl @@ -22,7 +22,11 @@ pages => { 'x-id-field' => 'path', 'x-list-columns' => [qw( path )], + 'x-view-item-url' => '/{path}', properties => { + id => { + readOnly => 1, + }, markdown => { format => 'markdown', 'x-html-field' => 'html', @@ -49,12 +53,73 @@ + <%= title %> +
+ +
<%= content %>
+ %= javascript '/yancy/jquery.js' + %= javascript '/yancy/popper.js' + %= javascript '/yancy/bootstrap.js'