Julien JOACHIM

basicpage.github.io

Template for a basic academic page that is ready to use and easy to customise.

Screenshot 2024-11-02 at 19 39 34

It is also responsive by default!

Screenshot 2024-11-02 at 19 43 24

It relies on FontAwesome and Academicons to display nice icons.

It is close in style to academicpages but is entirely independent.

Getting started

[!NOTE] If you don’t have Github Pro (which you can get with the students programme) then your repository must be public for it to work.

Options

The index.md file starts with a header. All the items in it are optional. For instance, if you remove the line

picture: img/profile.png

then the website will no longer contain a picture. We think it’s better to have a picture, but it’s your choice.

The same goes for email and so on.

We give the semantics of the various fields (all of whom are optional).

General

OpenGraph

OpenGraph carries information that used by social media and messaging app to display your links nicely, typically with the picture and a small description.

Social and academic accounts

Papers

We provide some tools to input your publications and drafts either in JSON or YAML formats.

For instance:

``` yaml {.paper}
title: Yet another yaml parser 3
authors: Templato Urnehm
venue: Proceedings of Nihilism
url: https://basicpage.github.io
year: 2029
files:
  - text: Paper
    type: pdf
    scr: foo.pdf
  - text: Bibtex
    type: bib
    src: foo.bib
```

or

```json {.paper}
"title": "Towards automatic academic pages",
"authors": "Templato Urnehm, U. N. Owen",
"venue": "Principles of Awesomeness (PAW)",
"year": "2023",
"url": "https://basicpage.github.io",
"files": [
  { "text": "Paper", "type": "pdf", "src": "foo.pdf" },
  { "text": "Bibtex", "type": "bib", "src": "foo.bib" },
  { "text": "Formalisation", "type": "code", "src": "foo.v" }
]
```

[!WARNING] Make sure to respect JSON syntax, in particular place commas where they are needed, and only there. Test locally before you push.

[!TIP] You can input multiple files at once by using papers (with an s) instead of paper. In that case, papers must be bracketed properly, and the way to do so differs in YAML and JSON. Have a look at index.md to see how it’s done.

The file that handles papers is pandoc/paper.lua and you may modify it to suit your needs. Currently, it expects the fields title and authors (it will assume them to be empty otherwise), while the other fields (venue, year, url and files) are optional.

Updating the HTML template

The pandoc/template.html4 file contains an HTML template which you can edit to suit your taste. Any variable mentioned in the header of your index.md can be moved around, and you can even add your own.

There is also a special filter called pandoc/date.lua which produces an extra variable called date (unless it is already provided in the header) that is currently used in the footer of the template to indicate the last time the page was generated.

[!NOTE] It will only appear in the footer if the footer variable is set.

Sharing files

Anything you put in the website directory will be available online too. For instance, you can add PDF of your papers and so on and then link them (or not) from index.md.

Authors