# HG changeset patch # User Ludovic Chabant # Date 1423018093 28800 # Node ID 1446dbc42d397d4475ec5fbe719e8e9344f78eb5 # Parent f82262f59600bb78d84355cdff0f29a96f08ab31 data: Only expose the `family` linker. diff -r f82262f59600 -r 1446dbc42d39 piecrust/data/builder.py --- a/piecrust/data/builder.py Tue Feb 03 08:21:43 2015 -0800 +++ b/piecrust/data/builder.py Tue Feb 03 18:48:13 2015 -0800 @@ -34,16 +34,14 @@ pc_data = PieCrustData() pgn_source = ctx.pagination_source or get_default_pagination_source(page) paginator = Paginator(page, pgn_source, first_uri, ctx.page_num, - ctx.pagination_filter) + ctx.pagination_filter) assetor = Assetor(page, first_uri) - flat_linker = Linker(page.source, page_path=page.rel_path) recursive_linker = RecursiveLinker(page.source, page_path=page.rel_path) data = { 'piecrust': pc_data, 'page': dict(page.config.get()), 'assets': assetor, 'pagination': paginator, - 'siblings': flat_linker, 'family': recursive_linker } page_data = data['page']