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

Support to manual configure the sidebar width of the Gemini Scheme. #111

Merged

Conversation

tsanie
Copy link
Contributor

@tsanie tsanie commented Feb 3, 2018

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.
  • Tests for the changes have been added (for bug fixes / features).
    • Muse | Mist have been tested. (not affected)
    • Pisces | Gemini have been tested.
  • Docs have been added / updated (for bug fixes / features).

PR Type

What kind of change does this PR introduce?

  • Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build related changes.
  • CI related changes.
  • Documentation content changes.
  • Other... Please describe:

What is the current behavior?

Related Issue Number(s): #67, iissnan/hexo-theme-next#1980

What is the new behavior?

Allow the users configure their sidebar width for Gemini Scheme manually.

  • Screens with this changes: N/A
  • Link to demo site with this changes: https://tsanie.us (with a custom sidebar width: 300px)

How to use?

In NexT _config.yml:

# Manual define the sidebar width
# !!Only available for Gemini Scheme currently
# Leave it empty for the default 240
sidebar_width: 300

Does this PR introduce a breaking change?

  • Yes.
  • No.

@ivan-nginx ivan-nginx added this to the v6.0.4 milestone Feb 8, 2018
@ivan-nginx ivan-nginx merged commit 03bd4b4 into theme-next:master Feb 8, 2018
@tsanie tsanie deleted the support-configurable-sidebar-width branch February 8, 2018 23:51
@ivan-nginx ivan-nginx mentioned this pull request Feb 9, 2018
72 tasks
tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019
…debar-width

Support to manual configure the sidebar width of the Gemini Scheme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants