-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix layout names being stored with file extensions (#9)
* Fix layout names in templates This commit fixes an issue with layout names for regular and partial layouts that that forced users to refer to partials using quoted atoms (e.g. `@partials."footer.html"`) due to the way we were parsing layout names. For files that use multiple extensions like `.html.eex`, it is now possible to refer to them using their name without any extension. In content, pages can now also refer to the layout just as `layout_name` instead of including the file extensions of the layout. * update plug_live_reload dependency
- Loading branch information
1 parent
ddf3deb
commit 9208345
Showing
4 changed files
with
32 additions
and
9 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
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
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
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