Coder Social home page Coder Social logo

akbarsait / 11ty-recipes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peruvianidol/11ty-recipes

1.0 0.0 0.0 389 KB

Everything you need to build an Eleventy site from scratch.

Home Page: https://11ty.recipes

JavaScript 7.87% HTML 34.55% CSS 57.58%

11ty-recipes's Introduction

Netlify Status

11ty Recipes

There's a ton of great Eleventy starter kits out there but they're pretty opinionated about their features and dependencies. 11ty.recipies helps you build an Eleventy site from scratch, showing you how to add individual features to craft the exact site you need.

Contribute

Submit an issue or a pull request if there's a specific recipe you'd like to see.

If submitting a PR, be sure to include the following in the front matter to receive proper credit.

authorName: [Your Name]
authorUrl: [A link to your website or Twitter]

Some tips for contributing

  • The title should be actionable (Add a layout, Change the default directories) and should not refer to Eleventy or "your site/a site," which are implied already.

  • Recipes should have a short introduction to what the user will be doing and how this feature benefits them.

  • Recipes should stand on their own. If a user needs to do several things to make something work, it should be broken out into separate recipes with later steps referencing those as Prerequisites. See [Add a 404 page]https://www.11ty.recipes/recipes/add-a-404-page/) for an example.

  • The Directions section should be an ordered list with code samples for each step, where applicable. If adding to existing code, it can be helpful to highlight the lines being added with existing code around it for context. See step 4 of Add global data. You can do this in Markdown by adding line numbers (these are zero-indexed, so the first line is 0) to highlight at the start of a codeblock:

```html/3-5, 6-9
  • References to filenames or folders should be emphasized using strong

  • Remember to escape Nunjucks tags in code snippets with {% raw %}{% endraw %} so that they are not processed when the recipe page is built.

  • Always include a References section, when possible, to direct the user to resources where they can learn more about this recipe. This includes relevant pages from the Eleventy Documentation, tutorial videos, articles, Github repos, etc.

Installing the repo

  1. Clone this repo
  2. Run npm install in the repo directory
  3. Run npm start to serve your Eleventy site at https://localhost:8080 and watch for changes

Questions/Feedback

If you have any questions or feedback, please reach out to me via Twitter. Thanks!

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.