Website of Frog Collective organization.
Go to file
Corentin 4835ef01a7 fix: fix members description in company presentation 2024-05-21 02:04:04 +02:00
.vscode feat: Add initial content 2024-05-17 19:04:28 +02:00
assets feat: use sass to build css (closes #5) 2024-05-21 01:56:25 +02:00
content fix: fix members description in company presentation 2024-05-21 02:04:04 +02:00
src fix: fix members description in company presentation 2024-05-21 02:04:04 +02:00
.gitignore chore: use jean-website to generate site (#6) 2024-05-20 15:56:04 +02:00
README.md feat: use sass to build css (closes #5) 2024-05-21 01:56:25 +02:00
noxfile.py feat: use sass to build css (closes #5) 2024-05-21 01:56:25 +02:00
site.py feat: use content to generate presentation section (#6) 2024-05-21 00:56:10 +02:00

README.md

Frog Collective Website

The repository contains the Frog Collective website implementation.

Quickstart

To generate the website, use nox :

nox -s build

The website is generated in the build directory.

To iterate more rapidly, avoid rebuilding the virtualenv each time by running :

nox -R -s build

Editor Documentation

The content of the website is stored in the "Content" directory.

Adding news

News can be added by adding a markdown file in the content/news directory. Name them with english-formatted date so that they are sorted chronologically in the rendered website. The title is defined in the metadatas, in the field 'title', the body of the news is the markdown document :

---
title: Your news title
---

Mardown content for the news

Date used for the news is the date the file was created in git.

Developper Documentation

HTML generation

We use https://git.collectivit.org/collectivit/jean-website to generate the website. Jinja2 templates are stored in the src directory, and use the content loaded from the 'content' folder to generate static pages. Content can be markdown document with metadata, or json files.

CSS

We use the BEM naming convention with the scheme

.block--element__modifier

See https://getbem.com/naming/ for insigths on the BEM naming convention.

We use SASS as a CSS extension language (https://sass-lang.com/).