Skip to content

Commit

Permalink
fix: 11ty collection build
Browse files Browse the repository at this point in the history
  • Loading branch information
ryp-erl committed Sep 24, 2023
1 parent 6103ed0 commit b5de19a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
8 changes: 4 additions & 4 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ const navigation = require('@11ty/eleventy-navigation')
const CleanCSS = require("clean-css");
const htmlmin = require("html-minifier");
const fg = require('fast-glob');
const galleryImages = fg.globSync('**/img/gallery/*', { onlyFiles: true, cwd: 'dist' });
const memeImages = fg.globSync('**/img/memes/*', { onlyFiles: true, cwd: 'dist' });
const galleryImages = fg.globSync('**/img/gallery/*', { onlyFiles: true, cwd: 'src/_includes/assets' });
const memeImages = fg.globSync('**/img/memes/*', { onlyFiles: true, cwd: 'src/_includes/assets' });

module.exports = function (eleventyConfig) {
// Collections
eleventyConfig.addCollection('gallery', function (collection) {
eleventyConfig.addCollection('gallery', function () {
return galleryImages;
});
eleventyConfig.addCollection('memes', function (collection) {
eleventyConfig.addCollection('memes', function () {
return memeImages;
});

Expand Down
26 changes: 0 additions & 26 deletions src/_includes/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -921,10 +921,6 @@ video {
padding-top: 0.625rem;
padding-bottom: 0.625rem;
}
.px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.pr-4 {
padding-right: 1rem;
}
Expand Down Expand Up @@ -1185,11 +1181,6 @@ video {
grid-template-columns: repeat(1, minmax(0, 1fr));
}

.sm\:px-4 {
padding-left: 1rem;
padding-right: 1rem;
}

.sm\:text-center {
text-align: center;
}
Expand All @@ -1201,19 +1192,6 @@ video {
position: sticky;
}

.md\:order-2 {
order: 2;
}

.md\:order-1 {
order: 1;
}

.md\:mx-0 {
margin-left: 0px;
margin-right: 0px;
}

.md\:mx-auto {
margin-left: auto;
margin-right: auto;
Expand Down Expand Up @@ -1243,10 +1221,6 @@ video {
display: contents;
}

.md\:w-auto {
width: auto;
}

.md\:basis-1\/2 {
flex-basis: 50%;
}
Expand Down

0 comments on commit b5de19a

Please sign in to comment.