:lipstick: A gorgeous responsive theme for Hexo blog framework
Tranquilpeak now uses Font Awesome v5. In this new version, Font Awesome has separated web fonts in 3 categories: regular, solid and brands. Because of that, you now have to update your icons in the sidebar configuration and sharing options in the theme configuration to tell Font Awesome in which web fonts your icons are:
fa
: for regular and solid iconfab
: for brand iconsSome icon names have also changed, so if at the end of the process, some icons are not displayed, make sure they still exist here: Font Awesome v5 - icons
Here is an example to help you upgrade to the new version:
author_links:
github:
title: global.github
url: https://github.com/LouisBarranqueiro
icon: github
mail:
title: global.mail
url: mailto
icon: envelope-o
author_links:
github:
title: global.github
url: https://github.com/LouisBarranqueiro
icon: fab fa-github
mail:
title: global.mail
url: mailto
icon: fa fa-envelope
grunt-sync
package (2548973f6a4424b8d7f91cc38423925dc22ff2c6)grunt-sync
package (2548973f6a4424b8d7f91cc38423925dc22ff2c6)Tranquilpeak now requires Node v6.13.1 or later
If you used Tranquilpeak v1.3.0 or lower, you used maybe the auto excerpt feature : If there is no tag in your post, so the excerpt is defined by cut the content after 250 characters.
Auto excerpt feature doesn't exist anymore since Tranquilpeak v1.4.0. And now, when there is no tag <-- more -->
and <!-- excerpt -->
in your post, the post is not cut and it will be displayed entirely on index page. Maybe, you don't want to display entirely all of your old posts. So If you have a lot of posts to edit and you don't want to do to define the excerpt manually, use our script to automate this task.
With the migration script, the <!-- excerpt -->
tag will be inserted at the end of the line of each posts which don't have an excerpt tag (more and excerpt).
Migration file has been removed in Tranquilpeak v2.0.0, so please read following instructions:
hexo migrate 1.4.0
in your blog directory. It will ask you :
_1.4.0_old_posts
directory and the new posts in _posts
Thanks to all contributors for their work! 👍 😄
rel="noopener"
when using target="_blank"
(#370) by @darekkayThere are new sidebar behaviors. Some of the indices has changed :
So read user doc - Theme Customization for more information
alt
HTML attribute on author's image - PR #279, commit 089a62fc3c8d0be1f7a0332345b0b6948fe1f4e4 by @jrbenitoThis feature works with hexo-algoliasearch. For the moment, this module clear the existing index on Algolia and re-index all your posts. In some days, I'm gonna implement a smarter version that only index modified posts. It will save many operations (only 100k operations/month allowed for the free plan on Algolia) and time
s : open search modal ESC : close search modal
sidebar_behavior
to 1
in configuration file - commit 55305c5479b91edbf942bbc379c6a600ba5890e7resolve_asset_url
-layout
folder to layouts
to fix a bug from Hexo - https://github.com/hexojs/hexo/issues/1855
node_modules
folder of your blogpackage.json
file that Hexo dependencies is equals to ^3.x.x
npm install
<!-- excerpt -->
tag will be inserted at the end of the line of each posts which don't have an excerpt tag (more
and excerpt
). Read user doc - migrating posts to know how to run migration.photos
varible with a caption or an thumbnail url, please use gallery
variable name instead of photos
otherwise Hexo will generate wrong url for these images in open graph meta tag. photos
is still supported for your old posts.<!-- excerpt -->
tag at the end of each posts written with Tranquilpeak < v1.4.0 which don't have an excerpt tag (more
and excerpt
). Because these posts was automatically cut with auto excerpt feature and this feature doesn't exist anymore since Tranquilpeak v1.4.0. Read user documentation - migrations to know how to run migration.image
tag : #214