Skip to content
Benji Xie edited this page Jun 7, 2020 · 3 revisions

Welcome to the bxie-academic wiki!

File structure

  • content/ contains website content (including papers, projects)
  • data/ has information for custom theme "uw"
  • layouts/ has custom page layouts which can overwrite files of same name and relative path in themes/academic
  • static/ is the public directory (where files, images, redirect file lives)
  • themes/academic is submodule and should not be edited directly. It may periodically require updates (see Academic Docs: Updates).

Adding Content

Publications

See Academic Docs: Publications.

  1. Append bibtex to static/files/publications.bib
  2. Edit bibtex:
    1. Add month field
    2. Change the bibtex key to of the format + (e.g. "chi2019"), because it is used for the URL.
  3. From project directory, run this command: academic import --bibtex static/files/publications.bib

New publication should appear on the list of publications now.

TODO: There are custom improvements including tagging and adding descriptions as "abstracts" which would be nice.

Projects

Projects live as a directory in content/project. Easiest

News

News/updates handled in custom widget recent.html which is a simplification of achievements.html

Setting Up Redirects

Redirects handled by Netlify hosting service (Netlify redirects). Redirects files is `static/_redirects'. The file is quite fragile (I avoid comments, whitespace, trailing new lines), so be careful!

For external redirects, must pass in response code 302.

Clone this wiki locally