osuosl / dougfir-pelican-theme

Pelican theme based off of the OSU Dougfir Drupal theme
Apache License 2.0
2 stars 2 forks source link

Optionally disable sidebar #38

Closed subnomo closed 8 years ago

subnomo commented 8 years ago

If DISABLE_SIDEBAR is set to True in the pelicanconf.py, the sidebar will be omitted.

To test:

  1. Clone cass-pelican: git clone https://github.com/osu-cass/cass-pelican
  2. Copy the contents of the theme to the newly created cass-pelican folder: cp -r dougfir-pelican-theme cass-pelican
  3. cd cass-pelican
  4. Install dependencies: virtualenv venv then . venv/bin/activate then pip install -r requirements.txt
  5. Edit the pelicanconf.py and add DISABLE_SIDEBAR = True
  6. Run ./develop_server.sh start
  7. Visit http://localhost:8000

With sidebar: 2016-08-04-111650_1920x1080_scrot

Without sidebar: 2016-08-04-111614_1920x1080_scrot

Once this gets merged we can update the CASS site to remove the sidebar.

athai commented 8 years ago

Nice! +1

Kennric commented 8 years ago

+1

cthalmann commented 8 years ago

Cool! :+1: