Skip to content
personal website
HTML
Branch: source
Clone or download
Latest commit 1af5998 Sep 1, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content Update personal.md Sep 1, 2019
data Update list.yaml Aug 23, 2019
static Add files via upload Aug 23, 2019
themes new template version Mar 22, 2019
.gitignore include the hugo binary Dec 11, 2018
.gitmodules init Sep 15, 2018
.travis.yml add github token Dec 11, 2018
README.md test whether travis-ci builds upon web commits Dec 11, 2018
config.toml Update config.toml Jul 23, 2019
hugo_travis_ci include the hugo binary Dec 11, 2018

README.md

How to Edit Each Section

Sidebar

Sidebar is controlled by the file config.toml.

  • title is the title of the website.
  • shortbio is the text displayed right under the title.
  • logo is the filename of the picture. The file is placed in content/. For example, if logo = "gr.jpg" then the picture should be placed at content/gr.jpg (as it is now).

Bio, Contact, From Another Life, and Personal

Those four sections are controlled by content/sections/{aboutme.md, contact.md, from-another-life.md, personal.md}. The files are formatted using "Markdown" (.md), a lightweight markup language. A quick guide is available here. To modify those sections, simply edit the corresponding Markdown file.

Publications, Working Papers, and Work in Progress

Those four sections are controlled and automatically generated by "data files" placed under data/ directory. For example, data/work_in_progress/ contains the entries displayed in the "Work in Progress" section. Each directory (for example, data/work_in_progress/) may contain multiple data files, and data files under the same directory will be combined, so you may group entries by year, book, affiliation, etc. and place them in individual data files.

Syntax of Data Files

All data files follow the same format:

works:
- title: "The title of the article"
  pdflink: "http://example.com/link-to-the.pdf"
  book: "Where and when does the article appear"
  note: "A short note displayed under the title"
  coauthors: "Coauthor A, Coauthor B and Coauthor C"
  links:
    - url: "http://example.com/external-link-1"
      text: "Text of the link"
      note: "A short description of the link"
    - url: "http://example.com/external-link-2"
      text: "Text of the link"
      note: "An unlimited number of links are supported!"
  abstract: >
    Abstract of the article. Don't forget the ">" above.

- title: "The second article"
  note: "The same syntax as the first article"

Everything in the data files are optional, except the title. So you may have an article without abstract and links, and another one without note and PDF link.

You can’t perform that action at this time.