jazzdotdev / flute

The Application Framework Built for Powerful, Secure features and add-ons
17 stars 4 forks source link

New theme loader WIP #118

Closed LuisReyes98 closed 5 years ago

LuisReyes98 commented 5 years ago

Changes Work in Progress

changed file naming logic so it would change the file name of a parent theme if it is an html to parent-theme-name-template.html Example: parent-theme-base.html

WIP changes

The extend replacer is suppused to change the tag

{= base =}

to

{% extends "parent-base.html"%}

it currently using the same name as the theme instead of the parent theme name

Arnaz87 commented 5 years ago

I would, instead of appending "-theme" at the end, prepend "theme/", like if the theme was a directory

naturallymitchell commented 5 years ago

Arnaud did this in parallel