Skip to content
This repository was archived by the owner on Jul 25, 2022. It is now read-only.

Edit Content

Kevin Cazelles edited this page Apr 10, 2019 · 5 revisions

Edit member profiles

Build the website locally

While editing the content of the website, you may want to check the actual visual rendering of your edits. In such case you'll need to use Hugo and the submodule(s) (check out the Installation section). Once installed, you will have to run hugo server: like so:

hugo server

This will return a message, something like:

Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)

You can copy paste http://localhost:1313/ is your web browser. The command hugo server start a watcher, so basically each time you change the content, it will update the local website!

Edit your data

Your name, role and links to your online profiles should be included in a .yaml file stored in data/members. For instance, the path to the file that stored details about Kevin Cazelles should be found in data/members/kevin_cazelles.yaml. Currently the options available are:

given_name: Kevin
family_name: Cazelles
info: kevin_cazelles
role: Post-doctoral fellow
alumni: false
github: KevCaz
twitter: KCazelles
researchgate: Kevin_Cazelles
website: http://kevincazelles.fr
orcid: 0000-0001-6619-9874
impactstory: 0000-0001-6619-9874
gscholar: xzvcu7cAAAAJ&hl

Once the file filled out: your name, role and links to your online profiles will be automatically added to your profile. Note that info should is the name of the file (or folder) that includes your bio (see below).

Edit your bio

Push your changes to update the website

To upload your changes, git push! Be careful, start by git pull to make sure you have the latest version of the code.

Clone this wiki locally