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

New tag video & warn when use exturl or extlink #652

Merged
merged 3 commits into from
Mar 6, 2019
Merged

New tag video & warn when use exturl or extlink #652

merged 3 commits into from
Mar 6, 2019

Conversation

stevenjoezhang
Copy link
Contributor

@stevenjoezhang stevenjoezhang commented Mar 4, 2019

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.
  • Tests for the changes was maked (for bug fixes / features).
    • Muse | Mist have been tested.
    • Pisces | Gemini have been tested.
  • Docs in NexT website have been added / updated (for new 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?

Issue resolved: N/A

What is the new behavior?

  • Screenshots with this changes: N/A
  • Link to demo site with this changes: N/A

How to use?

In NexT _config.yml:

...

Does this PR introduce a breaking change?

  • Yes.
  • No.

stevenjoezhang referenced this pull request in theme-next/theme-next.org Mar 4, 2019
* update docs
@import "note" if hexo-config('note.style') == 'simple' || hexo-config('note.style') == 'flat';
@import "note-modern" if hexo-config('note.style') == 'modern';
@import "label" if hexo-config('label');
Copy link
Member

Choose a reason for hiding this comment

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

It seems need to remove label option from config.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's related to theme-next/theme-next.org#18, and won't cause any side effect. The label option only appears once. Considering that we didn't add options for most tags (e.g. button, center-quote, full-image etc.), it would be better to remove it.

Copy link
Member

Choose a reason for hiding this comment

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

So?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated, looks fine now

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ivan-nginx Able to merge now?

Copy link
Member

@ivan-nginx ivan-nginx left a comment

Choose a reason for hiding this comment

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

Is quicklink ok there?

@@ -103,7 +103,7 @@
{% block script_extra %}{% endblock %}

{% include '_scripts/next-boot.swig' %}
{% include '_third-party/quicklink/index.swig' %}
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's fine

@stevenjoezhang stevenjoezhang merged commit c13c804 into theme-next:master Mar 6, 2019
@stevenjoezhang stevenjoezhang deleted the optimize branch March 6, 2019 16:42
@ivan-nginx ivan-nginx added this to the v7.1.0 milestone Mar 6, 2019
@liolok liolok changed the title Add warnings to exturl tag & Add video tag & Code style update Add warnings to exturl tag & add video tag & update code style Mar 31, 2019
@liolok liolok changed the title Add warnings to exturl tag & add video tag & update code style New video and warn when use exturl or extlink Mar 31, 2019
@ivan-nginx ivan-nginx changed the title New video and warn when use exturl or extlink New tag video & warn when use exturl or extlink Mar 31, 2019
tongluyang pushed a commit to tongluyang/hexo-theme-next that referenced this pull request Nov 19, 2019
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.

2 participants