Mercurial > piecrust2
diff piecrust/data/builder.py @ 866:d9059257743c
refactor: Make the linker work again.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 12 Jun 2017 22:10:50 -0700 |
parents | 08e02c2a2a1a |
children | 74f4bde40fd0 |
line wrap: on
line diff
--- a/piecrust/data/builder.py Thu Jun 08 23:32:19 2017 -0700 +++ b/piecrust/data/builder.py Mon Jun 12 22:10:50 2017 -0700 @@ -32,7 +32,7 @@ paginator = Paginator(pgn_source, page, sub_num, pgn_filter=ctx.pagination_filter) assetor = Assetor(page) - linker = Linker(page) + linker = Linker(page.source, page.content_item) data = { 'piecrust': pc_data, 'page': config_data,