Skip to content

Commit 2c85e53

Browse files
authored
Recap page and developer preview pages (#141)
* add recap photos and talks, update hero image work on recap * Rename talk files from [date]-[title] to [title] * developer preview pages
1 parent 9ac31dd commit 2c85e53

File tree

75 files changed

+625
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+625
-348
lines changed

CLAUDE.md

Lines changed: 179 additions & 0 deletions

eleventy.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,13 @@ module.exports = (config) => {
9999
return collection.filter(item => item.data.presenter_slugs.includes(slug));
100100
});
101101

102-
// Only build pages that aren't marked as drafts, usage below
103-
// draft: true
102+
// Only build pages that aren't marked as drafts in production
103+
// In development mode, draft pages are built for preview purposes
104+
// Usage: draft: true
104105
config.addGlobalData("eleventyComputed.permalink", function() {
105106
return (data) => {
106-
if (data.draft) {
107+
// In production, exclude draft pages
108+
if (data.draft && process.env.NODE_ENV === 'production') {
107109
return false;
108110
}
109111

0 commit comments

Comments
 (0)