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 WebC support #39

Open
darthmall opened this issue Mar 18, 2023 · 1 comment
Open

Add WebC support #39

darthmall opened this issue Mar 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@darthmall
Copy link

Add utility functions as JavaScript template functions for easy use from WebC. Possibly even provide a WebC component for ease of use? Rather than copying and pasting XML from the docs into a Nunjucks file, it’d be cool to be able to do something like:

---
permalink: /feed.xml
---
<atom-feed
  @base="site.url"
  @title="site.title"
  @subtitle="site.subtitle"
  @entries="collections.all"
  webc:import="npm:@11ty/eleventy-plugin-rss"
></atom-feed>
@zachleat
Copy link
Member

zachleat commented Jun 9, 2024

Related: #47

@zachleat zachleat added the enhancement New feature or request label Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants