-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for custom extension on folder load (#46)
* Load folder with custom file extension preperation 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. * Add support for custom extension on folder load 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. Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
- Loading branch information
1 parent
9541f49
commit f5a29cb
Showing
1 changed file
with
44 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters