Website code for a research team at Princeton University run by Karthik Narasimhan studying natural language processing.
Built on top of Archie theme, based on Hugo framework.
- Install Hugo (instructions can be found here).
- Clone this repo
- Run
hugo serverin your local directory. A website preview will be visible on http://localhost:1313/
For below changes, please make sure to run hugo server locally and visually confirm that the changes were made successfully.
Then, create a PR. The website czar will double check, then merge the PR if all looks well.
- Open the
config.ymlfile - Navigate to the
authorskey - Under the
authorskey, copy and paste the below block, then replace the values in<...>
<username>:
name: <name>
pic: <link or path (see below for more details)>
link: <URL to website>
github: <Github Username>
scholar: <Google Scholar URL>
twitter: <Twitter Username>
- Add your username to the
peoplelist - Launch the website, then check the "People" tab to confirm your profile was added
Add a Profile Picture
You may add either a link or a static asset as your pic.
- (Recommended) For a static asset...
- Add your image to the
static/images/peoplefolder - Add the name of your image as the field of pic
i.e. pic: jy1682.jpg
- Add your image to the
- For a link, paste the link (i.e.
pic: http://...)
- Create a
.md(markdown) file under thecontent/posts/directory. - Copy and paste the following text (include the top and bottom
---'s) to the beginning of the file, then fill in the fields. This is your post metadata.
---
title: # Post Title
date: # YYYY-MM-DD format
draft: # if `true`, post will be hidden
post_type: blog # Do not change
authors: # list of ids from `config.yml`
tags: # List of tags associated w/ this entry
# Optional
header_emoji: # Include to override the default "✏️"
---
- Write the content for your blog post below the metadata in Markdown. If you're unfamiliar with Markdown, this is a good place to start. You can also check out
example.mdin thepostsfolder and, after startinghugo server, preview it here.
- Create a
.md(markdown) file under thecontent/publications/directory. - In the markdown folder, copy and paste the following text (include the top and bottom
---'s) to the beginning of the file, then fill in the fields. This is your publication metadata.
---
title: # Paper title
date: # YYYY-MM-DD format
draft: # if `true`, post will be hidden
post_type: publication # Do not change
authors: # list of ids from `config.yml`
tags: # List of tags associated w/ this entry
venue: # conference / journal / ArXiv
# Below are optional, but strongly recommended
code: # Link to GitHub Repo
link: # Link to paper
site: # Link to project website
header_emoji: # Include to override default "✒️"
---
When the publication is clicked on the website, a post page will be shown, where you can write a blog-style post about your paper. Please copy + paste your abstract in this section as the bare minimum. You are encouraged to add more content about your paper!