Skip to content
No description, website, or topics provided.
R Ruby HTML CSS
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.
.circleci
_layouts
_sass
assets/stylesheets
download
.gitignore
.ruby-version
CNAME
Gemfile
Gemfile.lock
README.md
_config.yml
about.md
camp.md
faq.md
index.md
learning-objectives.md
logistics.md
materials.md
pre-arrival.md

README.md

This is the website for the Princeton Sociology Methods Camp for incoming Princeton PhD Students.

https://pusocmethodscamp.org/

Powered by Jekyll and GitHub Pages.

Table of contents

Editing

Local development environment

While not required, it is possible to setup a local development environment to see the changes you make before they're live. The site is powered by Jekyll, which written in Ruby. Installation steps:

  1. Ensure you have ruby command installed
  2. Run: gem install bundler
  3. Clone this repository via git
  4. Within the cloned git repository run: bundle install
  5. Run: bundle exec jekyll serve

The default layout

The default layout is used for the homepage of the site as indicated in index.md. The default layout does the following things content-wise:

  1. Output a navigation bar based on the navigation frontmatter in markdown file (e.g., index.md)
  2. Output the content in the markdown file (e.g., index.md).
  3. Output the content from any sections defined in the frontmatter.

Navigation

The navigation is a list of links with a name key and a url key. The url key can be any URL. However, in our usage we're including URLs to particular sections in the document. These section links must match the id created automatically for headers in the markdown files. For example, consider the following markdown file:

## Learning objectives

Learning objectives here.

When that markdown gets converted, the header will automatically receive an id of learning-objectives. To link to this section, you'd use a url of #learning-objectives in that navigation list. You may specify your own header id with:

## Learning objectives {#my-special-id}

Learning objectives here.

In this case, you should use #my-special-id for the url key when linking to this section.

Sections

You may add additional sections to the page by adding them to the sections list in the markdown files frontmatter. When processing the sections, the default layout will look for markdown files by that name and include their content within each new section.

For example the current frontmatter of index.md includes this:

sections:
  - learning-objectives
  - pre-arrival
  - camp
  - logistics
  - faq
  - about

The default layout will show the content of index.md first and then include the content from learning-objectives.md, pre-arrival.md, camp.md, logistics.md, faq.md, and about.md in that order. You can add or remove sections to your liking.

You can’t perform that action at this time.