Hexo Theme Tranquilpeak Versions Save

:lipstick: A gorgeous responsive theme for Hexo blog framework

v3.0.0

5 years ago

Breaking changes

Update Font Awesome to v5

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 icon
  • fab: for brand icons

Some 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:

Before (Tranquilpeak v2.0.0):
author_links:
    github:
        title: global.github
        url: https://github.com/LouisBarranqueiro
        icon: github
    mail:
        title: global.mail
        url: mailto
        icon: envelope-o
After (Tranquilpeak v3.0.0):
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

Improvements

  • Update Font Awesome to v5 (79d5c7c3564fe35bfb90e09b1e895fbb0853745f)
  • Add Clojure and Lisp highlight.js color syntax (be5da65436a59e2e6f9d0c9f7d58c015f81a1ed9)

Fixes

  • Update grunt-sync package (2548973f6a4424b8d7f91cc38423925dc22ff2c6)
  • Break words in alert components (00f47b3edf0ad6ff936d755ea76f0f3e6bb90823)

Changelog

  • Update Font Awesome to v5 (79d5c7c3564fe35bfb90e09b1e895fbb0853745f)
  • Update grunt-sync package (2548973f6a4424b8d7f91cc38423925dc22ff2c6)
  • Add Clojure and Lisp highlight.js color syntax (be5da65436a59e2e6f9d0c9f7d58c015f81a1ed9)
  • Break words in alert components (00f47b3edf0ad6ff936d755ea76f0f3e6bb90823)

Thanks to all contributors for their work! 👍 😄

v2.0.0

6 years ago

Breaking changes

Drop support for Node v4

Tranquilpeak now requires Node v6.13.1 or later

Migrate from v1.3.x or anterior to 2.0.0

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:

  • Upgrade to v1.10.0
  • Run hexo migrate 1.4.0 in your blog directory. It will ask you :
    • The name of the directory that contains all of your post (default: _posts)
    • The date of your last post written with a version anterior to 1.4.0
    • Your old posts will be put in _1.4.0_old_posts directory and the new posts in _posts
  • Upgrade to v.2.0.0

Improvements

  • Simplify user documentation (326acf661ad3cd68ebb86a18146650cc56eeb9c3)
  • Update all dependencies to their latest versions (f82472fa065cf0cb8eaab59309961e89a5ca1e3b)
  • Use npm packages to replace bower dependencies (7125acbc9b91f8c1498dc431a6ec50966930fee3
  • Improve structured data of pages with JSON-LD (22423240d2b1590469ac3ebbf6b3928eba9c1c20)
  • remove markeup structured data of pages with JSON-LD (22423240d2b1590469ac3ebbf6b3928eba9c1c20)

Fixes

  • Add missing pagination variables in French language file (#465) by @PierExMachina
  • Remove top margin of li.p tags (#482) by @zyzyz

Changelog

  • Improve README (#473) by @LachlanLindsay
  • Missing pagination variables in French language yml file. (#465) (34203c7bdbbcc6abfe8da3c4246aff11a39e876e) by @PierExMachina
  • Remove top margin of li.p tags (#482) (1267d711531f73a101c1931c5a1be01ff27d5e6b) by @zyzyz
  • Simplify README, installation and documentations (326acf661ad3cd68ebb86a18146650cc56eeb9c3)
  • Remove migration file (v1.x.x -> v1.4.0) (3eba3543d93a1bf9d4ffa825b2611df38440145c)
  • Update dependencies (#468) (f82472fa065cf0cb8eaab59309961e89a5ca1e3b)
  • Use npm packages to replace bower dependencies (#468) (7125acbc9b91f8c1498dc431a6ec50966930fee3)
  • Improve structured data of pages (JSON-LD) (#479) (22423240d2b1590469ac3ebbf6b3928eba9c1c20)
  • Drop support for Node v4 (3bea8385fafd26b79d73eeccb2b7e18ba7c6804a)

Thanks to all contributors for their work! 👍 😄

v1.11.0

6 years ago

News

  • Added Gitment comment system. (#456) by @deamwork

Improvements

  • Improved accessibility by adding descriptions to icon links (#408) by @darekkay
  • Improved documentation (#413, #425) by @noraj1337, @gregjopa
  • Added querystring support in gallery url (#422) by @janzhen
  • Improved translations on archive pages (#439, #440) by @aerohub
  • Improved translations of image gallery (cea42165d84ef6ee8c222799d039ebd5abfd5ad6)

Fixes

  • Remove search form when Algolia search is not enabled (#407) by @darekkay
  • Sort all-tags and all-categories page's posts by descending date (#462) by @YoshinoriN
  • Fix pagination on category and tag archive pages (#419)

Changelog

  • Upgrade GA js code (#405) by @kakawait
  • Add search modal only if an Algolia configuration exists (#407) by @darekkay
  • Remove duoshuo comment system (8a5a50be32b3e811535e19f855eed2a8373e1278)
  • update jQuery, Fancybox and Font Awesome (65dbaf16173a5b1ffe7f6548daa94ea0222f8f8d)

Thanks to all contributors for their work! 👍 😄

v1.10.0

7 years ago

New

  • Customize your sharing option list - See more
  • Customize your 404 error page - See more
  • German and Italian versions

Improvements

  • Add front-matter options to hide post meta and actions. (#399) by @darekkay
  • Add German translations (#398) by @ LeoWinterDE
  • Improve Chinese translations (#395) by @374632897
  • Add Italian translations (#375) by @alexmufatti
  • Add rel="noopener" when using target="_blank" (#370) by @darekkay
  • Add print media queries (#369) by @darekkay
  • Update Russian translations (#348) by @twirlfog
  • Add fallback monospace fonts for when Menlo is not installed (#322) by @GonzaloAlvarez
  • Add sharing option list 5bd57117c9053c91153ad18cef0f4f7e68448a0e by @LouisBarranqueiro

Bugs

  • Algolia search pops up immediately (#340) by @Lxxyx
  • Remove unused portion of code for Swiftype integration (#330) by @aerohub
  • Firefox jumped to random line on page (#332) by @robinWongM

v1.9.1

7 years ago

Tips before update

There are new sidebar behaviors. Some of the indices has changed :

  • 1 becomes 2
  • 2 becomes 3
  • 3 becomes 5
  • 4 becomes 6

So read user doc - Theme Customization for more information

Improvements

  • add new sidebar behaviors. Read user doc - Theme Customization for more information - Issue #309, commit 85219f1b6473aac3781ce142da7020d21e2d366f
  • add altHTML attribute on author's image - PR #279, commit 089a62fc3c8d0be1f7a0332345b0b6948fe1f4e4 by @jrbenito

Bugs Fixes

  • Image created by image tag with center class was not centered - Issue #307, commit 7245518
  • Author biography was displayed in small sidebar on very large screen - Issue #303, commit e9a639f
  • Fix hexo generate issue - Issue #305, commit 2fdf046ddad80010c41cdcd0722c852e0cb4bcfb
  • Remove horizontal scroll when sidebar is open - Issue #300, commit https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak/commit/9955adb5f873b6bde37e3290ad9d6ea1f6b2810a
  • Remove empty HTML class attribute - PR #298, commit 261e437acec80800239e84134de42f8919ebbe98 by @kakawait
  • fix HTML5 validation errors - PR #294, commit 8bbd676391b7bd284c176ccd1819703807ad8bcd by @kyrylkov

v1.9.0

7 years ago

Tips before update

This 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

Shortcuts for search modal

s : open search modal ESC : close search modal

New features

  • Add new sidebar behavior for extra large screens - Issue #285, commit 68ca78f4509c83282a7b4e849ad34e52b9654c8d
  • Add new free search feature with Algolia to replace Swiftype - Issue #256, commit 41cf0e78bdd2d65f0dd8213a6a7d12e732e6044f - Read User documentation - Algolia to enable the search modal

Improvements

  • Include all scripts file at the end of the body (HTML5 validation) - PR #278, Commit 6356d5492ea2db8a15a8514c4df8e383b8a513f6 by @jrbenito
  • Allow user to define a Google+ business profile - PR #282, commit f175f0e590daf407fb7eca8f460c6bd805c11bf0 by @jrbenito

Bug fixes

  • Google+ published meta shall be a link tag - PR #282, commit f175f0e590daf407fb7eca8f460c6bd805c11bf0 by @jrbenito

Changes

  • Set default sidebar_behavior to 1 in configuration file - commit 55305c5479b91edbf942bbc379c6a600ba5890e7

v1.8.1

7 years ago

Bugs

  • Fix requirements node version - #275, #280

v1.8.0

7 years ago

New features

Improvements

  • HTML5 improvements : #263 and #261 by @kyrylkov
  • improve Russian translation : #259 by @twirlfog
  • ease build process with npm commands : read NPM scripts
  • improve user documentation
  • improve developer documentation
  • improve responsiveness of image gallery on small screens : #251

Bugs

v1.7.1

8 years ago

Bug fixes

  • Add marked npm module in dev dependencies
  • Fix thumbnail image class name in index file : #242 by @kakawait

v1.7.0

8 years ago

Quick tips to know before update

  • Update to the lastest Hexo (3.2.0) to improve speed generation :
    1. Delete node_modules folder of your blog
    2. Check in package.json file that Hexo dependencies is equals to ^3.x.x
    3. Run npm install
  • Tranquilpeak 1.7.0 include a migration script to migrate all posts from Tranquilpeak < 1.4.0. Auto excerpt feature doesn't exist anymore since Tranquilpeak 1.4.0. To overcome this, 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). Read user doc - migrating posts to know how to run migration.
  • Since Tranquilpeak 1.7.0, if you declare some photos in 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.
  • Read user doc - quick & easy modifications to learn how to change code coloration, font-size, font-families quickly and easily.

Migrating posts

  • Add <!-- 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.

New features

  • Add code coloration for YAML : #50
  • Allow user to change code coloration easily (Highlight.js theme)
  • Add a new tag : Tabbed code block

Improvements

  • Improve filters implementations and chinese translations by @h404bi : #233
  • Allow user to group fancybox images in gallery with image tag : #214
  • Allow user to define thumbnail image for post photos : #214
  • Add Quick & easy modifications section in user documentation to learn how to change code coloration, font-size, font-families quickly and easily.

Bug fixes

  • Bottom bar and post footer was both visible : #228
  • Share-option div was 1px over the bottom bar : #227
  • Scroll bars of about page was always displayed : #222
  • Filter scripts and reading time translations was missing : #205
  • Line numbers and line of codes wasn't aligned when a code block had a scroll bar : #204
  • Translations of result message on all-categories, all-tags, all-archives pages was missing : #187

Miscellaneous

  • Javascript code style is now maintain with ESLint (based on Google code style)