Skip to content

Commit

Permalink
Merge pull request #363 from UniversityRadioYork/ren-additions
Browse files Browse the repository at this point in the history
ury with now 110% more pride
  • Loading branch information
hitime1234 committed Jun 2, 2024
2 parents 0a96ff7 + 20e0f30 commit 6136661
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

christmas = true
aprilFools = false
pride = true

# Candidate Interview Night Stuff
cin = true
Expand Down
Binary file added public/images/URY_Rainbow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions structs/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type PageContext struct {
ODName string `toml:"odName"`
Christmas bool `toml:"christmas"`
AprilFools bool `toml:"aprilFools"`
Pride bool `toml:"pride"`
CIN bool `toml:"cin"`
CINLivestreaming bool `toml:"cinLivestreaming"`
CINAPI string `toml:"cinAPI"`
Expand Down
4 changes: 4 additions & 0 deletions views/elements/navbar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="{{url "/"}}">
{{if .PageContext.Pride}}
<img src="{{url "/images/URY_Rainbow.png"}}" height="34" alt="{{.PageContext.LongName}} Logo" >
{{else}}
<img src="{{url "/images/logo.png"}}" height="34" alt="{{.PageContext.LongName}} Logo" >
{{end}}
</a>
<div class="navbar-collapse collapse" id="collapsed">
<div class="navbar-nav">
Expand Down

0 comments on commit 6136661

Please sign in to comment.