Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.72 KB

flatpage_edits.md

File metadata and controls

45 lines (30 loc) · 1.72 KB

Flat page edits

Sphinx Navbar

Log into the admin

Create Flat page

Link your page to the menu

  • Edit the navbar.html file
  • Add the your url to the appropriate place. Example:
<li><a href="/history-and-name/">History &amp; Name</a></li>

Add an image to the repository ("static/images")

  • On your local machine, place your image in the "static/images" directory
  • Sync github (to upload to github)
  • To have this image available on the live site, run the jenkins build (about 10-20 seconds)

Link your image in a flatpage ("static/images")

  • Assumption: your image is checked into the repository under "static/images" (described above)
  • In the flat page content box, use this syntax:
<img src="/static/images/your-image-name.png" alt="description" />