Informative website about the corona virus.
Β·
Β·
Β·
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/
Please go to the _i18n/
sub-folder where everything's is explained ;)
Read the contributing guidelines π©βπ»
Go on this other repository covprehension/proto
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
First of all, make sure ruby is intalled on your computer.
- Clone the repo
git clone https://github.com/covprehension/CoVprehension.git
- Move in the folder
cd CoVprehension
- Install plugins:
bundle install
- Replace the symlink JS translation files by the real ones
rm -f assets/lang/*.js && cp _i18n/*/simu-*.js assets/lang/
- Build your site:
bundle exec jekyll serve
- Connect to your running instance http://127.0.0.1:4000/CoVprehension/
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 titleemail
Global maildescription
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 compilerpaginate
paginate_path
how to generate pagination urlplugins
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 languagesexclude_from_localizations
Have a bug or an issue with this template? Open a new issue here on GitHub!
-
Pipeline
- Jekyll
- GitHub Actions
- GitHub Pages
-
Front-end
- Bootstrap / jQuery
- Theme from Start Bootstrap
- Bootstrap / jQuery
-
Simulations
- JS
- NetLogo
The code of this project is licensed under the LGPL-3.0 License.