Website of Frog Collective organization.
Go to file
Adrien Allard 052b2cf6ed feat: configure webm files to be handled by git lfs 2025-07-17 10:30:46 +02:00
.vscode chore: remove unused recommended extension 2024-06-12 16:10:24 +02:00
config fix: disable url rewriting for .webm files (closes #24) 2024-10-03 15:20:06 +02:00
content feat: add itch.io coldridge widget 2025-02-10 10:12:39 +01:00
locale/fr/LC_MESSAGES fix: typos and update localization 2025-06-30 17:10:09 +02:00
src fix: sort news articles per file name 2025-07-17 10:30:46 +02:00
.gitattributes feat: configure webm files to be handled by git lfs 2025-07-17 10:30:46 +02:00
.gitignore chore: use jean-website to generate site (#6) 2024-05-20 15:56:04 +02:00
.static-pages.yml feat: configure Forgejo static pages to publish site 2024-06-03 01:07:39 +02:00
README.md docs: update documentation with the list of nox commands available 2025-07-15 11:06:12 +02:00
babel.cfg localisation: move presentation back to the jinja template 2024-05-22 03:18:52 +02:00
noxfile.py fix: fix jean-web installation url 2024-08-02 14:30:59 +02:00
site.py feat: coldridge presskit 2024-08-02 13:01:42 +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.frog-collective.com/collectivit/jean-web 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/).

Dev env

Install the following dependencies to be able to test the website locally:

npm install -g browser-sync

Then it's possible to start a local server using the command:

browser-sync start --server build/ --watch

To extract localization messages:

nox -s extract_messages

Then to compile them once localization is done:

nox -s compile_messages