-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the climate-data-dynamics-lab-website wiki!
This repository contains the code for the Climate Data and Dynamics lab website. If you find any useful information about about editing the lab website please add to this wiki!
The two main file types that need editing are markdown and yaml files. Below is some information to help but you can also just look at files that are already in the folders and use those as a template.
Each member of the lab should create a markdown file in the _members folder that is the team members name (e.g. john-doe.md). This markdown file contains a header where you need to put your name, a photo (if you like), your role and set links to other things (like your GitHub account google scholar). A standard one might look like
---
name: John Doe
image: images/john-headshot.jpeg
role:
links:
home-page: #link to home page
email:
github: #GitHub username
orcid:
google-scholar:
---
Note: The photo file should be .jpeg and placed in in the images folder.
Then, in the text of the markdown file, you can write information about yourself. The website template then builds everything into a nice page on the website!
Only if you want to! These are again markdown files that have a header where you add your name as the author, title and use add tags to group posts and make searching easier.
---
title: Example post 1
author: john doe
tags: tag1, tag2
---Editing the text at the top of the projects page is done in projects/index.md.
To create a project on the Projects page in the website an entry in the _data/projects.yaml. Adding the group: featured field in the project entry is what allows it to be featured on the projects page.
The home page is the index.md file located in the root of the repository. To edit the homepage edit this file.
The publications are all handled by a GitHub action which periodically generates a pull request to update the list of publications based on an ORCID profile (I think google scholar may also be used). The citations.yaml file is automatically generated from the chosen orcid profile and does not need to edited (unless maybe a figure needs to be added to the entry).