Versions Compared

Key

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

What you see as the home page is separated into several *.html.erb files:

and they're all put together in the avalon layout: app/views/layouts/avalon.html.erb.

Avalon uses project blacklight Blacklight for its layout, so if you need to look up how to do something specific to the look, you can google for blacklightBlacklight.

Changing the featured items

...

Here is a snippet from our the Indiana University production environment's app/views/modules/_header.html.erb, which you can see here: media.dlib.indiana.edu
The snippet sets up the featured items on the front page. 

...

The image_tag looks in app/assets/images/ for its images. We put our pictures into app/assets/images/featured/.

 

Warning

This documentation is still in progress.