ZORALab / Hestia

One Peaceful Frontend+Backend Software Library Suite.
https://hestia.zoralab.com
Other
19 stars 1 forks source link

Add Default Templater for Quick Content Rendering #44

Closed hollowaykeanho closed 1 year ago

hollowaykeanho commented 1 year ago

Description

Please provide a short description of what feature you're looking forward to
add into the existing repository below. Please include the story behind your
idea as well to give a better visualization of your idea.

Develop a templater way (e.g. express 'Hestia/content/store-product.html' .) to facilitate and archive content paging design. Ensures these content templates can import the necessary components seamlessly.

Expected Behavior

Please specify the expected behavior of your requested feature. Some great and
helpful pointers are your expected interface (e.g. command patterns, simple
sketches of the user interface, etc).

A function capable of quickly render a page content.

Current Absent Behavior

Please specify the current behavior (e.g. workaround, blockage, etc).

content templating currently only limited to project-specific repository.

Attachment

Please drag and drop the necessary data files (e.g. screenshot, logs, etc)
below.
hollowaykeanho commented 1 year ago

templates namespace is freed up for content templating purposes. The existing directory was renamed to outputs which is more appropriate.

We will begin developing content templates moving forward using this route and set templates directory as public API.

hollowaykeanho commented 1 year ago

Come to think of it, we shouldn't facilitate such templates feature here but to set it as independent module (e.g. a separate git). Page content template is entirely different context and squeezing it into the primary engine can make the project very bloated. Hence, let's not include it.

hollowaykeanho commented 1 year ago

Closing this issue as will not implemnet.