From f4f4980e1f83ff06114fb22c29cd3e77ca14ad84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Mon, 26 Jun 2023 15:58:56 +0200 Subject: [PATCH] Detail teaching to make the webpage a portfolio --- content/teaching/INP/_index.md | 4 ++++ content/teaching/INP/reseau_phelma.md | 8 ++++++++ content/teaching/UGA/inf301.md | 1 + content/teaching/X/_index.md | 4 ++++ content/teaching/X/inf559.md | 8 ++++++++ content/teaching/_index.md | 4 ++-- layouts/teaching/list.html | 1 + scss/_params.scss | 1 + scss/style.scss | 5 +++++ static/css/style.css | 4 ++++ 10 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 content/teaching/INP/_index.md create mode 100644 content/teaching/INP/reseau_phelma.md create mode 100644 content/teaching/X/_index.md create mode 100644 content/teaching/X/inf559.md diff --git a/content/teaching/INP/_index.md b/content/teaching/INP/_index.md new file mode 100644 index 0000000..377051a --- /dev/null +++ b/content/teaching/INP/_index.md @@ -0,0 +1,4 @@ +--- +title: "Grenoble INP" +link: https://www.grenoble-inp.fr/ +--- diff --git a/content/teaching/INP/reseau_phelma.md b/content/teaching/INP/reseau_phelma.md new file mode 100644 index 0000000..f2de22f --- /dev/null +++ b/content/teaching/INP/reseau_phelma.md @@ -0,0 +1,8 @@ +--- +title: Phelma filière SEOC, 4PMIPIN1 +longtitle: Principes de l'Internet, réseaux +date: 2021-11-22 +start_teaching: 2021 +role: Chargé de TD 2021-…, lab sessions 2021-… +draft: false +--- diff --git a/content/teaching/UGA/inf301.md b/content/teaching/UGA/inf301.md index 1d3cea9..a230f1b 100644 --- a/content/teaching/UGA/inf301.md +++ b/content/teaching/UGA/inf301.md @@ -4,6 +4,7 @@ longtitle: Algorithmique et Programmation Impérative webpage: https://moodle.caseine.org/course/view.php?id=72 date: 2021-11-22 start_teaching: 2021 +role: Chargé de TD 2021-…, lab sessions 2021-… draft: false files: diff --git a/content/teaching/X/_index.md b/content/teaching/X/_index.md new file mode 100644 index 0000000..f678fdb --- /dev/null +++ b/content/teaching/X/_index.md @@ -0,0 +1,4 @@ +--- +title: "École Polytechnique" +link: https://www.polytechnique.edu/ +--- diff --git a/content/teaching/X/inf559.md b/content/teaching/X/inf559.md new file mode 100644 index 0000000..4469183 --- /dev/null +++ b/content/teaching/X/inf559.md @@ -0,0 +1,8 @@ +--- +title: INF 559 +longtitle: Système et bas niveau +date: 2023-06-26 +start_teaching: 2018 +role: Lab sessions 2018-2019 and 2019-2020 +draft: false +--- diff --git a/content/teaching/_index.md b/content/teaching/_index.md index 5d6bde9..2313aa8 100644 --- a/content/teaching/_index.md +++ b/content/teaching/_index.md @@ -8,7 +8,7 @@ menu: weight: 250 --- -This page is not an exhaustive list of courses in which I've taught -- whatever -the exact role --, but more a link to the relevant, publicly-available +This page lists the courses in which I teach or taught -- whatever +the exact role --. It also contains links to the relevant, publicly-available resources I needed to share. Please contact me if you want to reuse this material -- if possible, I'm usually very keen on sharing such things :) diff --git a/layouts/teaching/list.html b/layouts/teaching/list.html index f3206cc..7bb46ea 100644 --- a/layouts/teaching/list.html +++ b/layouts/teaching/list.html @@ -17,6 +17,7 @@ {{- partial "teaching/coursename.html" . -}} + {{- with .Params.role -}}
{{ . }}
{{- end -}} {{ end }} diff --git a/scss/_params.scss b/scss/_params.scss index cfe6069..c1211ec 100644 --- a/scss/_params.scss +++ b/scss/_params.scss @@ -3,6 +3,7 @@ $bg_color: white; $link_color: #07a; $fg_color: #555; +$fg_color_light: #555555bb; $head_bg_color: #060033; $resp_small: 1350px; diff --git a/scss/style.scss b/scss/style.scss index 99d6cb2..76e0880 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -236,6 +236,11 @@ ul.teaching-courses { .course-longtitle:before { content: ' — ' } + + .course-role { + font-style: italic; + color: $fg_color_light; + } } .course-titleblock { diff --git a/static/css/style.css b/static/css/style.css index 5a4f355..147df14 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -164,6 +164,10 @@ ul.teaching-courses li { .course-name .course-longtitle:before { content: ' — '; } +.course-name .course-role { + font-style: italic; + color: #555555bb; } + .course-titleblock { margin-bottom: 20px; } .course-titleblock h2 {