Repository navigation
Fixes and improvements. [3] - #1175
Merged
Merged
Conversation
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").
Owner
|
Great! Awesome enhancements~ |
Collaborator
Author
|
@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. |
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
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. Language updates and additions.
Part 2. Descriptions in posts & pages.
Usage:
example-post.md/example-page.mdDescriptions 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
layoutdir 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.