Repository navigation
Fixes and enhancements. [4] - #1180
Merged
Merged
Conversation
1. Add: meta descriptions on posts 2. Add: noindex for some search engines like Yandex.
iissnan
reviewed
Oct 19, 2016
| </a> | ||
| </div> | ||
| {% elif post.excerpt %} | ||
| {% if post.excerpt %} |
Owner
There was a problem hiding this comment.
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.
Collaborator
Author
There was a problem hiding this comment.
@iissnan excerpt_description option was added and enabled by default.
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).
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 1. Descriptions in posts.
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
copyrighttotrueor tofalse.