Git Product home page Git Product logo

schare.space

Website

schare.space

How to build

  1. Go to repo toplevel
  2. rm -r docs/ - clear the old website
  3. python3 src/index_posts.py - generate/update the blog index in content/tidings/
  4. racket site.rkt - generate/update the site in docs/
  5. python3 -m http.server -d docs/ - view the result in browser at default port: localhost:8000; Ctrl-C to close the server

Then add, commit, and push.

How to add new pages

  1. Create a new HTML file somewhere in the content/ directory.
  2. Add a rule to the config for the new page. Note that many folders register their contents recursively, so your new page may already have an implicit entry. Check the config.
  3. Rebuild the entire site as usual to view your new post on the webserver.

You can also create new templates and assets (e.g. CSS files) to help define the look of your new page.

See here for information on authoring templates.

How to author blog posts

  1. Create a new HTML file in the tidings/ folder. The file should be an HTML fragment containing a <title> tag and an element containing the date with id="date".
  2. Run python3 src/index_posts.py from the repo toplevel. This updates the blog index with your new post.
  3. Rebuild the entire site as usual to view your new post on the webserver.

Gregory Schare's Projects

aoc2020 icon aoc2020

My solutions for Advent of Code 2020

codeadvantage icon codeadvantage

Allow students in my class to access code we wrote during class, so they can refer to it when doing homework.

curie icon curie

CURIE: Columbia Unofficial Repository of Instructor Evaluations

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.