This is the source for the Oxford University Badminton Club website. It is built with Jekyll and hosted using Github pages.
Much of the structure is determined by Jekyll.
_datacontains data files. In particular, it contains the Varsity scores, the scores and winners of cuppers and a file containing the contact information of the president which is used throughout the website._includescontains files which are included in other files such as the navigation elements._layoutscontains the layouts. Note thatlayout.htmlis separate fromdefault.htmlaslayout.htmlis usedindex.html._postscontains posts which go on the `Latest News' blog._sasscontains snippets of CSS/SASS which are used as includes.archivecontains the webpages for the old committees and the old cuppers scores.assetscontains the images and documents found on the website. Files are generally stores in folders relating to the webpage where they can be found.assets/collegescontains SVG images of the college logos.assets/documentscontains the club's compliance documents.assets/logocontains various copies of the logo. Not all of these are used on the website but it is a convenient place to store the files.
latest-newscontains the blog when generated. The blog posts will automatically be split into pages of 5.stylescontains ths CSS/SASS for the website.stylesheet.scssis included on every page and contains general styles, most other files are named after the webpage which uses them.
The website has many things which occasionally need updating.
- Session times and the locations available on the map in
sessions.html. - List of college captains in
college-captains - Cuppers draw in
cuppers.html
- The current committee.
- Sponsors in
the-club.html - Cuppers 'Hall of Fame' in
cuppers.html - Current prices in
clubnight.html - Leagues the teams play in and the links to the current standings in
squad.html
Each committee is a data file in the _data/committee folder. The files should be named {{year}}.yml where {{year}} is the year the committee took over. So the 2019.yml contains the committee for the 2019 - 2020 committee.
- Create a new committee file and add the committee data. Old files should be left in place as they can be found in the archive.
- Edit the file
variables.ymlwith the details of the President and the IT Officer.