Skip to content

memory-consolidation/site

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for the Open Science MOOC website

Currently at: https://opensciencemooc.eu

OpenScienceMooc

Contributing to the website

You can contribute by directly altering/proposing content on the GitHub repository.

To clone this repository locally use:

git clone https://github.com/OpenScienceMOOC/site.git

New to GIT and GitHub? See these learning resources.

Where are images?

Images are located in the /img and assets/img folders.

Altering the module content.

Modules descriptions are rendered from markdown files (here is a useful markdown cheatsheet) located in the _modules folder. The module markdown files are plain markdown file. However, the top of each file contains some YAML data helping to render the content on the website. This YAML lines set the page layout, the title to render, the logo picture to use on the page, the description to use (rendered under title if provided), the page top header background image, a thumbnail to use when the module is rendered as a card, the cardcolor (as RGBA values)

---
layout: page
title: "Open Advocacy"
logo: /img/logos/mooc_logo.png
description: ""
header-img: "img/home-bg.jpg"
thumbnail:  "/img/logos/mooc_logo.png"
cardcolor:  rgba(178,223,197,0.5)
ordernumber: 10
---

How to add a person to be listed/rendered on the website

Currently adding a person involves adding a markdown file in the _people folder. Perhaps the easiest thing to do is to copy an existing file, e.g. Jonathan Tennant.md. The people markerdown files contain some YML data at the top which is used to define items like the location of the profile image:

---
title: Jonathan Tennant
name: Dr. Jonathan Tennant
role: Founder, Rogue Scientist
location: Rest of World
contact:
  email: jon.tennant.2@gmail.com
  github: Protohedgehog
  impactstory: 0000-0001-7794-0218
  linkedin: jonathan-tennant-3546953a
  orcid: 0000-0001-7794-0218
  twitter: Protohedgehog
  website: fossilsandshit.com
type: lead
---

My fancy bio in [markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) format.

If you want to add a picture of you, you simply need to add an image in the folder assets/img/people. The image should have the same name as your markdown file in _people (e.g jon_tennant.md -> jon_tennant.jpg).

License

The code for this site is covered by the MIT license: License: MIT

Website content license: conten license

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.9%
  • JavaScript 21.9%
  • CSS 6.8%
  • Other 0.4%