Skip to content

Commit bdb8b44

Browse files
committed
Updates README
- Updates README to include information about adding sponsor logos to the website
1 parent 91e7b35 commit bdb8b44

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,18 @@ docker run --rm -it -p 4000:4000 \
6464
Change a source file, such as `index.html` for example, and save the changes. You will see Jekyll automatically regenerate the site,
6565
after which you can reload the page in your browser to see the rendered changes.
6666

67+
## Adding logos to the website
68+
69+
There is an `_include` file, `add-sponsor-logo.html`, that can be used to add a
70+
sponsor's logo anywhere on the website.
71+
You can use the function by calling:
72+
`{% include add-sponsor-logo.html sponsor_url="some_url" logo_file="logo-filename.png" logo_alt="Some alt text for users" %}`
73+
See the include file for details on the variable names.
74+
The logo files need to be added to the `assets/img/sponsor-logos/` directory.
75+
76+
### Logos on the main page
77+
78+
To add the sponsor logos to the main page, follow the same directions as above,
79+
but make sure the include call is in the correct tier section for the sponsor.
80+
For example, UIUC is a platinum sponsor, so they are added to the
81+
`<div class="row sponsor-platinum ...>` block.

0 commit comments

Comments
 (0)