Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Issues/147 #3

Merged
merged 2 commits into from
Jun 12, 2018
Merged

Issues/147 #3

merged 2 commits into from
Jun 12, 2018

Conversation

kptdobe
Copy link
Contributor

@kptdobe kptdobe commented Jun 12, 2018

No description provided.

path: 'SUMMARY.md'
};

return md2json.main(params).then(info => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kptdobe I think this is the wrong way to do it – every template script should render only one single resource and never try to go back to the repository.
You can handle this much better though an edge-side include (take a look at the nav.md example in template2lamdba, with better overall performance.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've filed adobe/project-helix#171 and #4 for this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I agree. Step by step... for now, that's the only way to do it.

Copy link
Contributor

@trieloff trieloff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be done differently, but I'd merge it anyway.

@trieloff trieloff merged commit 9f6837f into master Jun 12, 2018
@kptdobe kptdobe deleted the issues/147 branch June 14, 2018 08:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants