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

Embed project data on page #7

Open
itsjoekent opened this issue Mar 30, 2017 · 2 comments
Open

Embed project data on page #7

itsjoekent opened this issue Mar 30, 2017 · 2 comments
Milestone

Comments

@itsjoekent
Copy link
Member

itsjoekent commented Mar 30, 2017

  1. Add template rendering solution to server
  • Load template into variable
  • Provide function to replace a variable (eg: {{ content }}) with a given string
  • Provide a function to construct a script tag (eg)
  • On page request, check if it's a project, inject the project data. (Continuing to use local files for now)
  1. Load the content from the window.state and apply a default store.

This will be critical for page crawlers & ability to have share previews.

@itsjoekent itsjoekent modified the milestone: launch Mar 30, 2017
@itsjoekent
Copy link
Member Author

Would be cool if we only have to calculate the page once & store the result in memory for quick retrieval

@itsjoekent
Copy link
Member Author

b0a1219

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