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

Fixes and enhancements. [4] #1180

Merged
merged 7 commits into from
Oct 20, 2016
Merged

Fixes and enhancements. [4] #1180

merged 7 commits into from
Oct 20, 2016

Conversation

ivan-nginx
Copy link
Collaborator

@ivan-nginx ivan-nginx commented Oct 18, 2016

Part 1. Descriptions in posts.

  1. Add: meta descriptions on posts
  2. Add: noindex for some search engines like Yandex.

Addition to #1175.

Part 2. Copyright option.

Many peoples not like footer copyright. And no matter, what copyright is this; this is add external links to all pages in your blog — this good for developers, but bad for bloggers.

So, for now u may choose: set footer copyright to true or to false.

1. Add: meta descriptions on posts
2. Add: noindex for some search engines like Yandex.
@ivan-nginx ivan-nginx changed the title Add: meta descriptions on posts. Fixes and improvements. [4] Oct 19, 2016
@ivan-nginx ivan-nginx changed the title Fixes and improvements. [4] Fixes and enhancements. [4] Oct 19, 2016
</a>
</div>
{% elif post.excerpt %}
{% if post.excerpt %}
Copy link
Owner

Choose a reason for hiding this comment

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

In previous releases, I use the description front -matter as a way to specify post excerpt. As a result, removing this code might confuse users that uses this feature. So my thought is to reserve this feature.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@iissnan excerpt_description option was added and enabled by default.

@iissnan iissnan added this to the v5.1.0 milestone Oct 19, 2016
1. If "is_index" (homepage) and "description" is defined and "excerpt_description" set to true (by default in config) — post description will appear in old style.
2. If all parameters the same, but not "is_index" (not homepage, single post) — post description will appear in new style (in meta header).
3. If all parameters the same, but "excerpt_description" set to false — post description will appear in new style anywhere.
4. If  "description" is not defined — all will be in old style (description will not appear nowhere).
@iissnan iissnan merged commit 1106663 into iissnan:5.1.0 Oct 20, 2016
habren pushed a commit to habren/hexo-theme-next that referenced this pull request Apr 9, 2017
@ivan-nginx ivan-nginx deleted the 5.1.0 branch May 3, 2017 12:00
snowyu pushed a commit to snowyu/hexo-theme-next that referenced this pull request Nov 23, 2019
* Make site-nav-toggle and badge more robust
stevenjoezhang added a commit to next-theme/hexo-theme-next that referenced this pull request Jan 21, 2023
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