Website Management

Website Management

Organization of files

|- _config.yml: for `site` variable.
|- _includes/: configure components like header, footer, analytics, etc. (html)
|- _pages/: configure pages (bound to each tab)

Instructions

Add one paper

  • add one md file under _publications/ directory.

Add analytics (google-universal)

  • Create Google Analytics account. (reference)
  • Configuration. _config.yml -> analytics:.

Modify the templates

  • Tabs (navigation): _data/navigation.yml
  • Paper entry: _includes/archive-single.html
  • Single page: _layout/single.html

Grammar

Global variables:

  • site: _config.yml
  • page: the meta data of each md file.

TODOs

  • add visit stat function