Skip to content

Themes and Templates #4

@LoveAndCoding

Description

@LoveAndCoding

The themes and templates architecture needs to be reworked and exposed. This will allow others to create new or custom themes and use them in markdown page generation. Themes should have the following features to start with:

  • Manifest file that can be included in a folder
  • Custom CSS, LESS, JS, and Images can be included,
  • Need pre and post render template pieces for including a header and footer
  • Should be able to 'inherit' from default theme
  • Should include mardown render template
  • Can force override of default to default to single page theme
  • Able to accept a custom set of parameters that can be included in rendering manifest files

This is the default initial manifest file that other manifest files will inherit from. Manifest files not wishing for a default value should override it.

{
    "includeHead": true,
    "includeNav" : true,
    "includeFooter" : true,
    "preRenderTemplates" : [],
    "postRenderTemplates" : [],
    "renderTemplate" : null,
    "css" : [],
    "less" : [],
    "js" : [],
    "images" : [],
    "forceSinglePage" : false
}

More features will be added as the feature matures.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions