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

feat(qrcode): add support for using online api to generate post qrcode #342

Merged
merged 2 commits into from
May 10, 2017

Conversation

neoFelhz
Copy link
Collaborator

@neoFelhz neoFelhz commented May 9, 2017

  • add support for using online api to generate post qrcode

Contributing rules

  • Fork the repo and create your branch from canary. Then be sure to put the canary branch as the target for your pull request.
  • Please be sure to follow the contributing guidelines, especially for commit message
  • Remove the Contributing rules part from this description
  • Fill out the other parts from this description

If you don't do so, we might change your pull request's title and using squash to merge your changed.

What kind of change does this PR introduce? (check one with "x")

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

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

Description

No description.


Verification steps

No verification steps.

- add support for using online api to generate post qrcode
@@ -64,6 +64,9 @@
<% if(theme.fonts.host === "baomitu") { %>
<link rel="dns-prefetch" href="https://lib.baomitu.com"/>
<% } %>
<% if(theme.qrcode.use === "online") { %>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think should add theme.qrcode.enable === true

theme.qrcode.use === "online" && theme.qrcode.enable === 'true'

@cubesky cubesky requested a review from iblh May 9, 2017 11:43
@neoFelhz neoFelhz merged commit 6de4267 into canary May 10, 2017
@neoFelhz neoFelhz deleted the feat/qrcode branch May 10, 2017 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants