Skip to content

emory-libraries/rails-footer

Repository files navigation

Railsfooter

Getting up and Running

Add this line to your application's Gemfile:

gem "railsfooter", github: "emory-libraries/rails-footer"

And then execute:

$ bundle install

For version 1.0, in the main application file (app/views/layouts/application.html.erb) place footer with

<%= render "railsfooter/footer" %>

and in the header

<%= stylesheet_link_tag "railsfooter/application.css"

If the app is using < Rails 8, add

//= link railsfooter/application.css

to app/assets/config/manifest.js

In cli:

rails g links_file

will copy over a blank/test template footer_links partial. Fill in the blanks and duplicate the

  • lines to build the footer menus.

  • About

    rails gem to standardize footer and other branding for emory libraries rails applications

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors