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

Page templates #88

Closed
g105b opened this issue Jul 5, 2017 · 1 comment
Closed

Page templates #88

g105b opened this issue Jul 5, 2017 · 1 comment
Labels
maintenance Non-code related work question Further information is requested

Comments

@g105b
Copy link
Member

g105b commented Jul 5, 2017

Possibly utilising #28 custom elements, another repository for reusing template HTML elements, without all the web component features.

src/page/shop/item.html

<!doctype html>
<meta charset="utf-8" />
<title>Example shop item</title>
<template-header/>
<main>
	<template-shop-item />
</main>

Would load src/template/shop-item.html in place of the template element, but should it also come with optional CSS, PHP and JavaScript? If so, this is already covered by #28 ...

just an idea, putting it here while it's on my mind.

@g105b g105b added maintenance Non-code related work non-code question Further information is requested labels Jul 5, 2017
@g105b
Copy link
Member Author

g105b commented Nov 1, 2017

Out of scope in this repo, tracked here: PhpGt/DomTemplate#3

@g105b g105b closed this as completed Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Non-code related work question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant