Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add paths to enable theming #2451

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Jun 21, 2022

  1. added dynamic paths for render plugin

    usage:
    
    **.eleventy.js**
    
    `eleventyConfig.path('views', './src/themes/base/layouts/');`
    
    **./src/themes/base/layouts/default.njk**
    
    `{% renderFile 'views:partials/head.njk' %}`
    raffaelj committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    9e0e1f9 View commit details
    Browse the repository at this point in the history
  2. added path functionality to layouts

    usage: `layout: "views:default.njk"`
    raffaelj committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    89eff4d View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2022

  1. cleanup

    raffaelj committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    5a60ba6 View commit details
    Browse the repository at this point in the history
  2. added tests

    raffaelj committed Jun 22, 2022
    Configuration menu
    Copy the full SHA
    bc53951 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. added test for providing path via plugin

    see also 11ty#2307
    raffaelj committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    fe931e9 View commit details
    Browse the repository at this point in the history