Giter VIP home page Giter VIP logo

dd4w's Introduction

Overview

This repo contains the code and data for the CCOSS website.

Structure / branching

  • Main branch will be used to keep up-to-date with what is live at https://ccoss.org
  • If you are not sure of what you are doing, you are welcome to create a branch and submit for review before being merged.

Building the site

  1. Install Hugo
  2. Clone this repo and cd to it.
  3. From the root, type hugo server and it will launch a web server with the website which you can check locally.
  4. To build the site type hugo. This creates a public directory with the static html.
  5. Deploy the public directory to hosting. Note: In this case, this is not necessary since we are running from Netlify, which automatically builds the site whenever it detects a new commit/push to the main branch.

Adding/editing content

Homepage

  • For layout, modify /themes/ccoss/layouts/index.html
  • For messages/content, modify /data/homepage.yml

Speakers

  • To add a speaker create a markdown file under /content/speakers/ (see the folder for sample files). The file name format should be firstname-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.

Sessions

  • 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

Sponsors info is currently kept under /data/sponsors.yml. Add the image file to /static/images/logos/

Schedule

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.

Updating the live website

The live website is currently hosted on Netlify and is updated automatically from commits to the main branch of this repo. So, when you commit and push, a task will be automatically triggered.


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.

dd4w's People

Contributors

albertorj avatar helenismo avatar pedrogk avatar

Watchers

 avatar  avatar  avatar

Forkers

isabella232

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.