Skip to content
Website for PL@Cornell
CSS HTML JavaScript Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archetypes
content
data/themes
layouts
static
themes
.gitignore
.gitmodules
.hook.yaml
Makefile
README.md
config.toml
theme.toml

README.md

Cornell PL WWW

Website for the Cornell Programming Languages group.

Pre-requisites

The website is generate by the Hugo website generator and uses the Academic theme. The theme is stored as a submodule under themes/academic/.

  1. Recursively clone the repository:

    git clone --recurse-submodules https://github.com/cornell-pl/pl.cs.cornell.edu.git
    
  2. Install Go (ver >= 0.49.2) and Hugo (ver >= 1.11).

  3. Run hugo server -w to generate the website locally.

Content Mangement

Most of the content is stored under /content/home.

  • about.md: Content for the about widget.
  • news.md: Latest news about the group. To add a new news item, use the format from the other items. Since the [[news]] list is order, make sure that the item is added to the top.
  • faculty.md, students.md, alumni.md...: Content for various groups of members.

Styling

The styling templates are stored under layouts/. Hugo uses a priority-based override method for determining which template to use. By default, it uses the template from theme/academic/layouts unless there is another template of the same name (and directory structure) in layout/.

For example, if you want to override the styling in theme/academic/layout/foo/bar.html, simply copy it to layout/foo/bar.html and add your changes.

Deployment

The website is automatically deployed by Hooknook. Contact Adrian or Rachit if there are issues.

You can’t perform that action at this time.