Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.57 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.57 KB

Leadership Toolkit site (based on Activate Campaign site)

You can see this site live at https://mozilla.github.io/activate.mozilla.community/

How to add or update content

All content can be edited using just Markdown files.

  • Front page can be modified editing index.md
  • Pages can be added/edited from the _pages folder.

Each page has a top section with some variables:

---
layout: page
title:  "Developer Engagement"
permalink: /area/developer-engagement
lang: en
ref: developer-engagement
---
  • layout: Layout for the page, this has to be page.
  • title: Main title for the page.
  • permalink: Unique, can include lang code for localized pages.
  • lang: Language code for this page, usually en.
  • ref: Unique reference for this page, just use the permalink in English, it's used to match localized pages.

Hack the site

If you want to hack the site you need to download it and install Jekyll.

$ git clone https://github.com/mozilla/activate.mozilla.community.git

Now install Jekyll in your system

Install the dependencies

$ bundle install

Run the site using the developer config

$ bundle exec jekyll serve --config ./_config-dev.yml

You will be able to access the site at http://127.0.0.1:4000/activate.mozilla.community/

Clone this repo, create a issue first and then a pull request to submit changes.