From 3c621076708ee1e88da12ec411f2df17af4b262e Mon Sep 17 00:00:00 2001 From: Hazel Weakly Date: Sat, 18 Nov 2023 20:38:52 -0800 Subject: [PATCH] fix talk link talks page --- src/_meta/transforms.js | 16 ++-------------- src/talks/qcon-sf-2023.md | 3 ++- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/src/_meta/transforms.js b/src/_meta/transforms.js index 5dd8ead..9327eb3 100644 --- a/src/_meta/transforms.js +++ b/src/_meta/transforms.js @@ -135,18 +135,8 @@ const generateResumePDF = async ({ dir, runMode, outputMode } = {}) => { }; const generateSlides = async ({ dir, runMode, outputMode } = {}) => { - // if (!isProd) return; - - // const configFile = path.join(__dirname, "..", "..", "marp.config.mjs"); - // const slidesFile = path.join( - // __dirname, - // "..", - // "..", - // dir.input, - // "_talks", - // "qcon-sf-2023", - // "slides.md", - // ); + if (!isProd) return; + const outputFile = path.join( __dirname, "..", @@ -164,8 +154,6 @@ const generateSlides = async ({ dir, runMode, outputMode } = {}) => { cwd: path.join(__dirname, "..", ".."), }).catch((e) => e); - console.log(output); - return output; }; diff --git a/src/talks/qcon-sf-2023.md b/src/talks/qcon-sf-2023.md index fb39240..c71a167 100644 --- a/src/talks/qcon-sf-2023.md +++ b/src/talks/qcon-sf-2023.md @@ -9,5 +9,6 @@ abstract: | In this talk, I'm going to be taking you through an approach that I've used, alongside some research, and show you how to build a playbook for creating high-impact platforms, inspired by my experiences in dramatically accelerating entire developer teams and organizations through the power of a platform that devs love. event_site: https://qconsf.com talk_page: https://qconsf.com/presentation/oct2023/understanding-platforms-what-they-are-why-they-work-when-use-them-how-build -slides: ./slides +eleventyComputed: + slides: "/talks/{{ page.fileSlug }}/slides" ---