Skip to content

Remove qihu_site_verification and move some options to SEO Settings #706

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

Merged
merged 3 commits into from
Mar 18, 2019
Merged

Conversation

stevenjoezhang
Copy link
Contributor

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 stevenjoezhang added this to the v7.1.0 milestone Mar 18, 2019
@stevenjoezhang stevenjoezhang merged commit 980dfaf into theme-next:master Mar 18, 2019
@stevenjoezhang stevenjoezhang deleted the box branch March 18, 2019 23:57
{% if theme.fancybox %}
{% set fancybox_css_uri = url_for(theme.vendors._internal + '/fancybox/source/jquery.fancybox.css?v=2.1.5') %}
{% set fancybox_css_uri = url_for(theme.vendors._internal + '/fancybox/source/jquery.fancybox.css') %}
Copy link
Member

@ivan-nginx ivan-nginx Mar 20, 2019

Choose a reason for hiding this comment

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

Version need for auto-updating cache.

For example:

  1. If FB will v3.5.6 and after update & redeploying will v3.5.7 and
  2. If CSS of this versions have difference and
  3. If on server-side will defined long-life cache
    Then v3.5.7 will be loaded as old v3.5.6 with some interface bugs. Yes, developers know what need simply refresh browser's cache, but simple users (your blog visitors) don't know it.

I suggest define latest FB v3. In our case for now it v3.5.7. And even if we want using old v2.1.5, there will no update for this version and all will be working fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fancybox2 is no longer maintained, and we didn't update fancybox3 in the past whole year (even it's updated from 3.2.5 to 3.5.7, but no one from NexT updated it). So I believe removing the version number will not affect anything.

Copy link
Member

Choose a reason for hiding this comment

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

Soon was 3.5.6 version. Then u update to 3.5.7. Tomorrow can be 3.5.8, etc. I believe version number must present here for maximum round all possible bugs in the future – this is argument. Your arguments?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But the truth is that the cycle of updating our plugins is significantly longer than the usual cache time of servers and browsers... However, if you can find a beautiful solution to deal with this problem (version numbers for both fancybox2 and 3), I will support it.

Another problem is that the users may not update the theme-next-fancybox in time, this will also cause version number issues...

Copy link
Member

@ivan-nginx ivan-nginx Mar 20, 2019

Choose a reason for hiding this comment

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

Another problem is that the users may not update the theme-next-fancybox in time, this will also cause version number issues...

Well, this is argument, agree. So, if u already know solution about cache refresh without modifying current file, awaiting for it.

But version number will just increase and cache will auto-refresh anyway... Another thing is: if user will update FB module after updating NexT, yes. Version & Cache will not refresh.

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.

3 participants