Giter Site home page Giter Site logo

5t3ph / 11ty-rocks Goto Github PK

View Code? Open in Web Editor NEW
27.0 2.0 11.0 1.62 MB

A collection of Eleventy (11ty) starters, projects, plugins, and resources created by Stephanie Eckles (@5t3ph)

Home Page: https://11ty.rocks

JavaScript 14.76% HTML 0.97% SCSS 60.81% Nunjucks 23.46%
11ty eleventy eleventy-website eleventy-site

11ty-rocks's Introduction

๐Ÿ‘‹๐Ÿป Hi! I'm Stephanie Eckles, aka 5t3ph, and I create front-end learning and development resources with an emphasis on CSS, Accessibility, and Eleventy. I'm the creator of ModernCSS.dev, SmolCSS.dev, StyleStage.dev, 11ty.Rocks and more! A list of my additional projects is available in my portfolio.

I enjoy sharing my experience as an:

Keep updated with my projects by subscribing to the ModernCSS newsletter

Featured Projects

Style Stage: A modern CSS showcase styled by community contributions Modern CSS Solutions
11ty Rocks: A collection of Eleventy (11ty) starters, projects, plugins, and resources SmolCSS: Minimal snippets for modern CSS layouts and components

11ty-rocks's People

Contributors

5t3ph avatar bendmyers avatar bigandy avatar bobmonsour avatar clottman avatar ellyloel avatar furtivite avatar jeromecoupe avatar murtuzaalisurti avatar rhoover avatar siakaramalegos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

11ty-rocks's Issues

Group Tags Together - Example doesn't work as described

https://11ty.rocks/posts/creating-and-using-11ty-collections/#group-tags-together

Described as:
Will show/create a merge of collections based on/of 2 tags.
= content with tags either/or "post" OR "page"

Result is:
Does only show/create a collection of pages that have both tags "page" AND "post".

Difference:
Posts need BOTH tags "post" AND "page" to be in that new collection, instead of either/or.

Either there is another setting (in .eleventy.js/config.eleventy.js) that's missing here or... ???

Doesn't work as described/expected in either 11ty@1/11ty@2.

Let me know if I miss something crucial here or ... else.

11ty docs describe it "correct":
https://www.11ty.dev/docs/collections/

Retrieve content that includes ALL of the tags passed in. Returns an array.

module.exports = function(eleventyConfig) {
  // Get only content that matches a tag
  eleventyConfig.addCollection("myTravelPostsWithPhotos", function(collectionApi) {
    return collectionApi.getFilteredByTags("post", "travel", "photo");
  });
};

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.