Mercurial > piecrust2
comparison piecrust/sources/default.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 | fddaf43424e2 |
children | c445a3d5d950 |
comparison
equal
deleted
inserted
replaced
865:1bb0d973dc69 | 866:d9059257743c |
---|---|
29 | 29 |
30 def _createItemMetadata(self, path): | 30 def _createItemMetadata(self, path): |
31 return self._doCreateItemMetadata(path) | 31 return self._doCreateItemMetadata(path) |
32 | 32 |
33 def _finalizeContent(self, parent_group, items, groups): | 33 def _finalizeContent(self, parent_group, items, groups): |
34 SimpleAssetsSubDirMixin._removeAssetGroups(groups) | 34 SimpleAssetsSubDirMixin._removeAssetGroups(self, groups) |
35 | 35 |
36 def _doCreateItemMetadata(self, path): | 36 def _doCreateItemMetadata(self, path): |
37 slug = self._makeSlug(path) | 37 slug = self._makeSlug(path) |
38 metadata = { | 38 metadata = { |
39 'route_params': { | 39 'route_params': { |