Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To revert to the old homepage follow these steps;,

  • Delete/rename the

...

  • app/views/catalog/index.html.erb , this file overrides the default Blacklight view (the old homepage)
  • Then follow one of these steps:
    • Option 1:
      1. Remove the home_page settings in 

...

      1. config/settings.yml (if it was added previously
      2. Cherry-pick the GitHub commit here, which will adjust the CSS for the old homepage conditionally (based on the presence of home_page config in config/settings.yml)

...

    • Option 2:

Make the following changes,

Code Block
languagexml
firstline49
titleapp/views/layouts/avalon.html.erb - Wrap content with CSS class="container"
linenumberstrue
<div class="container">
	<%= render 'modules/flash_messages' %>
	<%= yield %>
</div>


Code Block
languagexml
firstline16
titleapp/views/modules/_footer.html.erb - Remove class attribute
linenumberstrue
<div id="footer">
	<footer class="container">
	.
	.
	.
	</footer>
</div>


This feature is compatible with Avalon versions greater than or equal to 7.

Customize color palette

...