al-folio

Guide: creating your website with al-folio

In this post, I’ll explain how to setup a website using al-folio. Their github is well-documented, and most of the information here is a distillate of their quickstart page, and their customisation guide. Note that this guide was made with al-folio v1.0.

I. Creating a github repository for your website

title: blank uses your name as title in the top-right, you can change it to something else if you want. baseurl: should have nothing after the colon.

Once you’ve done this change, commit it to the main branch.

Some basic info about your website repo

Note that a disabled page will still be accessible by typing its address.

II. Deploying the site

Note: if your repository is private, the ruby and javascript-typescript jobs will fail.

Note: to un-deploy your website, you can choose None in the branch selection in II.2.

III. About page

IV. Publications page

Your publications page is defined in _pages/publications and reads automatically the file _data/papers.bib. Some bibtex fields will be rendered as clickable buttons on your publication page. Here’s an example below:

@Article{article_id,
  abbr = {PREPRINT},
  title = {title},
  author = {authors},
  journal = {journal},
  year = {year},
  month = Aug,
  abstract={},
  bibtex_show=true,
  pdf = {https://<username>.github.io/assets/pdf/paper.pdf},
  poster = {https://<username>.github.io/assets/pdf/poster.pdf},
  code = {code_url},
  slides = {https://<username>.github.io/assets/pdf/slides.pdf},
  preview = {preview.png}
}

abbr will be used to create a blue banner next to your paper entry. preview will add an image preview next to your paper. In this example, the file is located at assets/img/publication_preview/preview.png. PDFs are not supported :c

The following entries create a button:

field button
abstract shows abstract
bibtex_show shows .bib entry
pdf link to pdf
poster link to poster
code link to code
slides link to slides

V. CV

To add your cv to your website, you have 3 options (I chose V.c personally as of the time of writing).

VI. Google search console

To help with the visibility of your website on the internet, you can reference it yourself in the google search console. Create an account or login, then provide your website url. Google will give you a file that looks with <wifi password>.html, add it to the root of your directory, and enable the field enable_google_verification in _config.yml.

Troubleshooting