From 219a7543deabf8242586f6727162f6c9ed862317 Mon Sep 17 00:00:00 2001 From: MajorDroolz Date: Wed, 4 Jan 2023 22:47:52 -0500 Subject: [PATCH] FIX: Description for projects now works. --- _data/work.yml | 1 - _layouts/default.html | 6 +++++- _layouts/experience.html | 1 + styles/experience.css | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/_data/work.yml b/_data/work.yml index be95396..662a9a8 100644 --- a/_data/work.yml +++ b/_data/work.yml @@ -3,7 +3,6 @@ malung: title: Malung subtitle: COVID-19 Classifier stack: [ html, css, js, php, docker, mariadb, azure ] - image: /res/avatar.svg link: /404 color: yellow diff --git a/_layouts/default.html b/_layouts/default.html index ed48d7f..fa152bb 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,7 +4,11 @@ - + {% if page.desc_type == "project" %} + + {% else %} + + {% endif %} diff --git a/_layouts/experience.html b/_layouts/experience.html index b1bda15..a08829f 100644 --- a/_layouts/experience.html +++ b/_layouts/experience.html @@ -1,5 +1,6 @@ --- title: Example +desc_type: project layout: default --- diff --git a/styles/experience.css b/styles/experience.css index a507dfc..738877f 100644 --- a/styles/experience.css +++ b/styles/experience.css @@ -39,6 +39,7 @@ justify-content: center; color: #aaa; position: relative; + text-align: center; } #description { @@ -66,7 +67,7 @@ } #stack .chip { - flex: 1; + flex-grow: 1; } #stack::after {