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

YML based pages #101

Open
eldoy opened this issue Jun 10, 2023 · 0 comments
Open

YML based pages #101

eldoy opened this issue Jun 10, 2023 · 0 comments

Comments

@eldoy
Copy link
Owner

eldoy commented Jun 10, 2023

If the page ends with YML, you can translate it into functions on load:

title: Hello
description: Description
layout: main
views:
  - hero
  - posts
  - testimonials
scripts:
  - handleSomething
  - handleSomethingElse
  - renderSomething

Can we do weblang-ish data on top too? Add the data to $.data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant