[PAGES-208] Provide endpoints serving the template definition Created: 05/Nov/19 Updated: 02/Dec/19 Resolved: 21/Nov/19 |
|
| Status: | Closed |
| Project: | Magnolia pages module |
| Component/s: | None |
| Affects Version/s: | 5.7.2, 6.0 |
| Fix Version/s: | 6.2 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christopher Zimmermann | Assignee: | Sang Ngo Huu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0.25d | ||
| Time Spent: | 3.75d | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||
| Epic Link: | SPA Editor | ||||||||||||||||
| Sprint: | SPA Editor 7, SPA Editor 8, SPA Editor 9, SPA Editor 10, SPA Editor 11 | ||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Description |
|
User story:
Notes: Frontend frameworks always build a default index.html page which contains the relative links to other files (such as js & css) and sometimes other metadata such as a "base" path. Often the relatively linked files have new names with every build to prevent unwanted caching, and sometimes the js files are split to optimize app loading performance. It can be tiresome and error-prone to transfer the proper information from this file to a regular freemarker template script. Ideally a template definition can point directly to this generated index file and take care of anything else such as providing the functionality that a page directive does. Acceptance criteria:
Additional notes: Possibly the renderer does the following (in the future):
|