Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow theme config to be overridden by site config #757

Merged
merged 1 commit into from
Jul 30, 2014

Commits on Jul 30, 2014

  1. Allow theme config to be overridden by site config

    If there is a `theme_config` object in the main site config, it is merged into
    the theme's config.
    
    Ex:
    ```yml
    \# _config.yml
    theme_config:
      bio: "My awesome bio"
    ```
    
    ```yml
    \# themes/my-theme/_config.yml
    bio: "Some generic bio"
    logo: "a-cool-image.png"
    ```
    
    results in the following theme config
    ```js
    {
      bio: "My awesome bio",
      logo: "a-cool-image.png"
    }
    ```
    jaredly committed Jul 30, 2014
    Configuration menu
    Copy the full SHA
    2fb8de2 View commit details
    Browse the repository at this point in the history