Code Monkey home page Code Monkey logo

gazeworkshop.github.io's Introduction

Gaze Workshop Webpages (gazeworkshop.github.io)

Previewing your changes

Generally speaking, follow the instructions at

https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll#building-your-site-locally

to build the website locally, and run a webserver to inspect your local changes.

Run the following to re-build automatically when your files change:

bundle exec jekyll serve --host 0.0.0.0 --incremental

Creating a page for a new year

To duplicate a page from the previous year (let's say 2021), to create a page for the new year (let's say 2022), the following changes are necessary:

  1. Copy the static files with cp -r 2021/ 2022/
  2. Copy the layout file with cp _layouts/layout_2021.html _layouts/layout_2022.html
  3. Make copies of _includes/head_2021.html, _includes/header_2021.html, and _includes/footer_2021.html
  4. Add entry button for new year in _includes/header_common.html
  5. Copy the main content file with cp _pages/home_2021.md _pages/home_2022.md
  6. Edit the top lines in _pages/home_2022.md such that the new year is reflected, the new files are used, and the new page is actually generated by Jekyll.
  7. Edit index.html to refresh to the new page.

gazeworkshop.github.io's People

Stargazers

 avatar

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.