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

Mutiple Themes #70

Open
PunkChameleon opened this issue Jan 17, 2014 · 1 comment
Open

Mutiple Themes #70

PunkChameleon opened this issue Jan 17, 2014 · 1 comment

Comments

@PunkChameleon
Copy link
Member

One large limitation of the current build is that only one theme is allowed at the time.

It would be great to re-architect the theme system to be much more modular, so users can host, add, remove and switch between many themes (think Wordpress).

Any thoughts? This would be fairly large effort-wise.

@SotiriosVrachas
Copy link
Member

this can be done by changing mu.root = path.join(__dirname, '../theme'); to

mu.root = path.join(__dirname, '../themes/'+db.get('theme', function (res) {
    return(res.theme)
);

in goblin.js and of course having a theme key in the database with the value editable by admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants