😷 Informative website about the corona virus 🦠 https://covprehension.org/
  • HTML 59.9%
  • JavaScript 37%
  • SCSS 1.6%
  • CSS 1%
  • Ruby 0.5%
Find a file
2020-09-30 17:51:04 +02:00
.github [GH Act] Remove PR trigger 2020-05-20 21:39:01 +07:00
_i18n Update 2020-07-13-q20.md 2020-09-30 17:50:46 +02:00
_includes [TRACKER] Init ethical tracking on website 2020-07-04 23:01:11 +07:00
_layouts [HOME] Change text button (Fix #47 ) 2020-05-04 15:41:25 +07:00
_pages [SIMULATOR] Dynamically load netlogo based on site.lang 2020-04-09 16:43:25 +07:00
_plugins [TRANSLATE] Support for pages 2020-04-06 10:54:38 +07:00
_sass [ARCHITECTURE] From scratch HTML to Jenkyll blog 2020-03-25 10:07:12 +07:00
assets [FIX] Revert assets/lang/simu-fr.js from 3c1a7c83f0 2020-08-25 17:06:41 +07:00
img [Q16] editing 2020-06-23 10:58:43 +02:00
posts [POSTS] Add back-to-home button (Fix #48) 2020-05-11 16:23:15 +02:00
simulations [Q16] publish 2020-06-23 12:04:08 +02:00
.gitignore [GIT] Update gitignores 2020-05-25 23:02:42 +07:00
_config.yml [TRACKER] Init ethical tracking on website 2020-07-04 23:01:11 +07:00
CNAME [CNAME] Add cname file in src branch 2020-04-06 17:42:01 +07:00
contact.html [ARCHITECTURE] From scratch HTML to Jenkyll blog 2020-03-25 10:07:12 +07:00
CONTRIBUTING.md Create CONTRIBUTING.md 2020-04-09 18:45:01 +07:00
Gemfile [GH Action] Clean && simplify commands 2020-04-06 17:32:21 +07:00
index.html [ARCHITECTURE] From scratch HTML to Jenkyll blog 2020-03-25 10:07:12 +07:00
LICENSE Changing LICENCE 2020-03-28 15:09:39 +07:00
README.md [TRACKER] Add link in README 2020-07-04 23:03:04 +07:00

Logo CoVprehension

Informative website about the corona virus.

License · GitHub issues · GitHub contributors
Jekyll site CI · Discord

This repository holds the Jekyll sources of the CoVprehension website!

CoVprehension is a collective of researchers trying to explain the current epidemic of COVID-19 simply yet with scientific tools.

You can publicly see tracking data here : https://covprehension.goatcounter.com/

How to contribute to the project

I'm a writer / translator

Please go to the _i18n/ sub-folder where everything's is explained ;)

> Click me <

I'm a dev

I want to work on this website

Read the contributing guidelines 👩‍💻

I want to work on a NetLogo simulation

Go on this other repository covprehension/proto

Technical part

Structure of the repository

View contents
$ tree
.
├── assets/
│   ├── lang/
│   |   ├── <translation files for JS simulations>
│   │   └── simu-XX.js -> ../../_i18n/fr/simu-XX.js
│   ├── vendor/ <default resources>
│   └── <custom JS/CSS files>
|
├── _i18n/ <== Folder where website is translated
│   ├── <anyLanguageCode>/
│   │   ├── pages/
│   │   │   ├── about.html
│   │   │   ├── resources.md
│   │   │   └── simulator.md
│   │   ├── _posts/
│   │   │   ├── YYYY-MM-DD-qXX.md
│   │   │   └── <All your questions>
│   │   └── simu-<anyLanguageCode>.js
│   └── <anyLanguageCode>.yml
|
├── img/
│   ├── about/
│   ├── post/
│   └── <website images>
│
├── _includes/
│   └── <Global part of website : Header/Footer/etc>
│
├── _layouts/
│   └── <HTML pages template>
│
├── posts/
│   └── <IGNORE ME, I'm a trap 🙊>
│
├── _pages/
│   └── <Defined layout for translated pages>
│
├── simulations/
│   ├── js/
│   │   └── <JS simulation in sub-dir>
│   └── <Web NetLogo export simulations>
│
├── _config.yml
│
└── <others uninteresting stuff...>

<plenty> directories, <too many> files

Local installation & Setup

First of all, make sure ruby is intalled on your computer.

  1. Clone the repo git clone https://github.com/covprehension/CoVprehension.git
  2. Move in the folder cd CoVprehension
  3. Install plugins: bundle install
  4. Replace the symlink JS translation files by the real ones rm -f assets/lang/*.js && cp _i18n/*/simu-*.js assets/lang/
  5. Build your site: bundle exec jekyll serve
  6. Connect to your running instance http://127.0.0.1:4000/CoVprehension/

Global configuration of the website

All the global configuration of the site can be found in the file _config.yml which is structured as follow :

View contents
  • General settings
    • title Global title
    • email Global mail
    • description
    • url
    • baseurl root position of the website in the url variable
      • Don't change me
    • include Jekyll collection list
  • Social Profiles (all optionals)
    • twitter_username
    • github_username
    • facebook_username
    • linkedin_username
    • rss_link
    • google_analytics
  • Build settings
    • markdown MarkDown compiler
    • paginate
    • paginate_path how to generate pagination url
    • plugins list of ruby plugins used in the website
  • Multi language website => See https://github.com/kurtsson/jekyll-multiple-languages-plugin/#4-configuration
    • languages list of enabled languages
    • exclude_from_localizations

Bugs and Issues

Have a bug or an issue with this template? Open a new issue here on GitHub!

Made with

The code of this project is licensed under the LGPL-3.0 License.

The text content in posts is licensed under the CC BY-SA 4.0.

These illustrations in posts are licensed under CC BY-NC-ND 4.0.