From 69dd3bac2de4880820c20401fb2863838954719f Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 20 Nov 2023 14:26:01 -0500 Subject: Make projects caroussel responsive --- .gitignore | 3 + hugo.toml | 2 +- themes/cranky/layouts/shortcodes/prj.html | 148 ++++++++++++++++++++---------- 3 files changed, 103 insertions(+), 50 deletions(-) diff --git a/.gitignore b/.gitignore index 2a503e8..2eefea1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ ./assets/images/gallery +public/ *.jpg +*.png +*.webp tags diff --git a/hugo.toml b/hugo.toml index dfc0dc5..a35b660 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = 'https://chausse.xyz/' +baseURL = 'https://dev.chausse.xyz/' languageCode = 'en-us' title = 'Chausse Benjamin' theme = 'cranky' diff --git a/themes/cranky/layouts/shortcodes/prj.html b/themes/cranky/layouts/shortcodes/prj.html index 246a8e1..2d7df98 100644 --- a/themes/cranky/layouts/shortcodes/prj.html +++ b/themes/cranky/layouts/shortcodes/prj.html @@ -7,55 +7,31 @@
-

{{ .Summary | truncate 220 "..." }}

+

+ {{ .Summary | truncate 220 "..." }} +

{{ end }} -More Projects +All Projects -- cgit v1.2.3