forked from SpinaCMS/Spina
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update page template views to use the text page part instead of content
- Loading branch information
danmitchell-
committed
Jul 15, 2016
1 parent
9f06138
commit 89cf011
Showing
9 changed files
with
9 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
2 changes: 1 addition & 1 deletion
2
lib/generators/spina/templates/app/views/default/pages/homepage.html.haml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) |
2 changes: 1 addition & 1 deletion
2
lib/generators/spina/templates/app/views/default/pages/show.html.haml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) | ||
|
2 changes: 1 addition & 1 deletion
2
lib/generators/spina/templates/app/views/demo/pages/homepage.html.haml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) |
2 changes: 1 addition & 1 deletion
2
lib/generators/spina/templates/app/views/demo/pages/show.html.haml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
%h1= @page.title | ||
= @page.content(:content).try(:html_safe) | ||
= @page.content(:text).try(:html_safe) | ||
|