Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Razor template syntax support #319

Merged
merged 1 commit into from
Jun 27, 2019
Merged

Razor template syntax support #319

merged 1 commit into from
Jun 27, 2019

Conversation

sirtimbly
Copy link
Contributor

I needed basic Razor templating in a Fractal project and so I figured the easiest way to get was to add support for one of the existing Node powered Razor implementations into consolidate (since Fractal already supports consolidate).

  • Supports inline string template compilation as well as file compilation.
  • Seems to support caching.
  • I've tested this code with one project, it's not exhaustive testing.

@doowb
Copy link
Collaborator

doowb commented Jun 27, 2019

Sorry to take so long to reply. Will you rebase this PR to resolve conflicts?

tests are passing

alphabetization of dependencies

updating readme

renderFileSync for includes and layouts etc

file rendering and cleanup comments
@sirtimbly
Copy link
Contributor Author

Thanks. All set.

@doowb doowb merged commit d81266c into tj:master Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants