forked from refinery/refinerycms
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a header partial for easier overriding of the header without havi…
…ng to override the entire layout. Added better CSSable containers header_content and footer_content
- Loading branch information
Showing
4 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<p> | ||
Copyright © <%= Time.now.year %> <%= RefinerySetting[:site_name] %> | ||
</p> | ||
<div id='footer_content'> | ||
<p> | ||
Copyright © <%= Time.now.year %> <%= RefinerySetting[:site_name] %> | ||
</p> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div id='header_content'> | ||
<h1><%= link_to RefinerySetting[:site_name], root_url %></h1> | ||
<%= render :partial => "/shared/menu" %> | ||
</div> |