Skip to content

Repository files navigation

🤖 Karthik Narasimhan's Lab Website

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.

🛠️ Setup

  1. Install Hugo (instructions can be found here).
  2. Clone this repo
  3. Run hugo server in your local directory. A website preview will be visible on http://localhost:1313/

🖋️ Usage

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.

👋 Add a new person

  1. Open the config.yml file
  2. Navigate to the authors key
  3. Under the authors key, 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>
  1. Add your username to the people list
  2. 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/people folder
    • Add the name of your image as the field of pic i.e. pic: jy1682.jpg
  • For a link, paste the link (i.e. pic: http://...)

⌨️ Add a new post

  1. Create a .md (markdown) file under the content/posts/ directory.
  2. 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 "✏️"
---
  1. 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.md in the posts folder and, after starting hugo server, preview it here.

📜 Add a new publication

  1. Create a .md (markdown) file under the content/publications/ directory.
  2. 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!

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages