Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 2.3 KB

README.md

File metadata and controls

44 lines (29 loc) · 2.3 KB

The Institute for Artificial Intelligence and Fundamental Interactions Website

The IAIFI webpage source is hosted in GitHub and built using GitHub Pages. It is possible to use the editor on GitHub to maintain and preview the content for your website in Markdown files; however, for most things it's easier to just build and run Jekyll locally.

Whenever a commit is made to this repository, GitHub Pages will run Jekyll to rebuild the pages that make up the IAIFI site, from the content in the Markdown files. Specifically, adding a file XXX.md will lead to the creation of XXX.html. The main webpage content can be found (and edited) in the following files:

  • index.md creates the IAIFI homepage;
  • about.md creates the About Overview page;
  • activities.md creates the About Synergies page;
  • iaifi-news.md creates the About News page;
  • people.md creates the People page;
  • research.md creates the Research page;
  • fellows.md creates the Fellows page.

IAIFI News

Currently, we are placing these under _includes/news, since then it is trivial to inline include their Markdown content in other Markdown files. This is not optimal, but since we don't really know yet what we're going to do with the news, we decided to do this because it's simple.

Markdown

Since Jekyll converts the simple Markdown files into the html that makes up the site, most IAIFI website updates only require editing Markdown files in your favorite editor. For more details see GitHub Flavored Markdown.

Cheatsheet

Here are some useful commands for easy copy/pasting:

Steps for Thomas

Getting the webserver running
  • Go to the Terminal application on your Mac.
  • Go to the GitHub folder: cd iaifi.github.io
  • Get the latest version: git pull
  • Run the webserver: bundle exec jekyll serve
  • Go to the local website: http://localhost:4000

Key Commands

  • git commit -am