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

make a website name / domain name config and use it consistently #3

Open
9san opened this issue Mar 11, 2020 · 0 comments
Open

make a website name / domain name config and use it consistently #3

9san opened this issue Mar 11, 2020 · 0 comments
Labels
HTML Templating issue. Low Priority new feature New feature or request

Comments

@9san
Copy link
Owner

9san commented Mar 11, 2020

I can make site creation much simpler by making all mentions of the site, and domain for emails, be pulled from a config allowing it to be much easier to personalize for imageboard hosting.

Config examples:

$config['website_name'] = '9channel';
$config['domain_name'] = '9san.ch';

Template examples:

Welcome to {{ config.website_name }}!
Please contact admin@{{ config.domain_name }}.

I haven't even changed everything myself, there are some stuff that's slipped by me (such as profile editing for mods still listing @8chan.co.

@9san 9san added new feature New feature or request HTML Templating issue. Low Priority Medium Priority and removed Medium Priority labels Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTML Templating issue. Low Priority new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant