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

Add support for custom extension on folder load #46

Merged
merged 3 commits into from Jun 16, 2021

Conversation

halvko
Copy link
Contributor

@halvko halvko commented Apr 28, 2021

Fixes #45

In preperation to support loading files with a custom extension when
loading a folder, the internal function load_folder in
Ramhorns::from_folder, now takes an extension parameter, and have been
extracted as a private associated function of Ramhorns.
If a different extension than '.html' is used as file endings on
template files, this adds a function on Ramhorns to specify what that
extension is.
@maciejhirsz
Copy link
Owner

Thanks for this, GH actions is having a fit today, will merge it and make a release tomorrow.

@maciejhirsz maciejhirsz merged commit f5a29cb into maciejhirsz:master Jun 16, 2021
@maciejhirsz
Copy link
Owner

Released 0.11.

@maciejhirsz maciejhirsz mentioned this pull request Mar 21, 2024
2 tasks
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.

Support for custom file extensions
2 participants