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

Documentation for the 'theme_config' setting #634

Merged
merged 1 commit into from
Jan 18, 2018
Merged

Documentation for the 'theme_config' setting #634

merged 1 commit into from
Jan 18, 2018

Conversation

SafeEval
Copy link
Contributor

The theme_config setting, for configuring themes in the primary _config.yml file is extremely useful.
It doesn't appear in the documentation, so this commit adds it.

The example code is taken directly from the original pull request: hexojs/hexo#757

The 'theme_config' setting, for configuring themes in the primary _config.yml file is extremely useful.
It doesn't appear in the documentation, so this commit adds it.

The example code is taken directly from the original pull request: hexojs/hexo#757
@tcrowe
Copy link
Contributor

tcrowe commented Jan 17, 2018

I didn't know about this but it is, indeed, a valid override:
https://github.com/hexojs/hexo/blob/f19629e43accc9e5b63fe33711d8818ad04e9257/lib/hexo/index.js#L322

@tcrowe tcrowe added the documentation Improvements or additions to documentation label Jan 17, 2018
@NoahDragon
Copy link
Member

NoahDragon commented Jan 18, 2018

Nice catch! I also didn't know this until you point this out.

If I know this earlier, will save me a lot of time.

@NoahDragon NoahDragon merged commit 5529153 into hexojs:master Jan 18, 2018
@SafeEval SafeEval deleted the doc-theme-config branch January 18, 2018 23:13
SukkaW added a commit to SukkaW/hexo-site that referenced this pull request Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants