This repo contains the code and data for the Beam Summit website.
- There are branches for each summit edition. They can be old events which are kept here for archiving or current/upcoming events where the branch is used for development. Each branch will be used to setup independant auto-build processes.
- Master branch will be used to keep up-to-date with what is live on beamsummit.org
Previous editions of beam summit websites were built with Project Hoverboard but for the 2020 edition we are using Hugo with a custom theme.
- Install Hugo
- Clone this repo and cd to it.
- Build the site with
hugo
. You can optionally add--gc --minify
for clean and minimized output. This creates apublic
directory with the static html. - Deploy the
public
directory to hosting.
- For layout, modify
/themes/beamsummit/layouts/index.html
- For messages/content, modify
/data/homepage.yml
- To add a speaker create a markdown file under
/content/speakers/
(see the folder for sample files). The file name format should befirstname-lastname.md
(this allows Hugo to automatically find the speaker and hyperlink to them from the session page). - For the headshot, crop an image to 1:1 (ideally 400x400 px) and put it under
/static/images/speakers/
. Eventually we may add libs to do autocrop/resize but in the meantime do it manually. - If your markdown file is not being generated/published check that you don't have
draft:true
in the meta section. - Note: We may later set up Netlify CMS to edit speaker markdown files through a GUI without having to go through the steps described here.
- Similar to speakers, create a markdown file under
/content/sessions/
. - If start and end time are set on the meta we can generate links to add to google calendar.
- If you set the speaker name(s), a hyperlink to the corresponding speaker page will be generated (if a file with the speaker name is found under the speakers folder).
- If you have multiple speakers, put them as a list in the meta.
Sponsors info is currently kept under /data/sponsors.yml
. Add the image file to /static/images/logos/
The repo currently has layout files which we used at other event. They are here for reference and will be updated once the best layout is defined based on the structure of the final agenda.
The project is published under the MIT license. Feel free to clone and modify repo as you want, but don't forget to add a reference to authors :)
GDG[x] is not endorsed and/or supported by Google, the corporation.