-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 improvements. [3] #1175
Merged
Merged
Conversation
This file contains 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
1. Update some words. 2. Add translate to "sitemap" menu. 3. Add translate to "modified" post.
1. Add translate to "sitemap" menu. 2. Add translate to "created/modified" post. 3. Add translate to "visitors" post.
1. Add translate to "sitemap" menu. 2. Add translate to "created/modified" post.
1. Show custom titles in "tags" and "categories" pages if titles defined in their *.md files. 2. Include "page-header" to all pages. Show defined titles and descriptions in all custom pages (like "404" or "about").
Great! Awesome enhancements~ |
@iissnan actually, i need more time for remaking descriptions on posts, and i will do it some later. And, yep, thank's u too for that great template. I was see that u working now for sticky block styles, called jeet, and this is really good and will make all blocks (specailly sidebar) fully responsive. |
habren
pushed a commit
to habren/hexo-theme-next
that referenced
this pull request
Apr 9, 2017
Fixes and improvements. [3]
snowyu
pushed a commit
to snowyu/hexo-theme-next
that referenced
this pull request
Nov 23, 2019
snowyu
pushed a commit
to snowyu/hexo-theme-next
that referenced
this pull request
Nov 23, 2019
* continue iissnan#1175
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. Language updates and additions.
Part 2. Descriptions in posts & pages.
Usage:
example-post.md
/example-page.md
Descriptions on posts and pages will looks like that:
And like that:
It's important part of SEO and must be a vision on that parameter.
Titles on defined pages (tags, categories) looks like that:
Titles on custom pages (404, about) looks like that:
Part 3. Custom layout code.
As we know, theme Next allow to rewrite or add:
It's very good and important implementation for use your own individual blog style and make pulls/merges in global project throw git.
But 1 thing was wrong: before that time, u can't do your custom layout styles (div, span, counters, any scripts). So, i just added custom layout files in
layout
dir and u can add any html code there. And if file(s) will empty, code will not add.Usage:
Simply add your html code in
themes/next/layout/_custom/sidebar.swig
, for example:In sidebar i use custom vision counter codes, like Yandex.
Custom layout files:
Also, live demo is always on my site.