Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaud Lepretre <thibaud.lepretre@gmail.com>2021-10-04 10:24:45 +0300
committerThibaud Lepretre <thibaud.lepretre@gmail.com>2021-10-04 10:24:45 +0300
commitbc963e2f0b6ee43796e9bbc4c16f9b273b406b6a (patch)
tree78643e7348499fcbb1059cc819bdab74dfe19283
parent1a283c2a0c425b69dcb7fb799d98db7c30452741 (diff)
Release 0.5.3-BETA
-rw-r--r--CHANGELOG.md4
-rw-r--r--README.md2
-rw-r--r--docs/developer.md6
-rw-r--r--docs/user.md2
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md4
-rw-r--r--layouts/partials/meta.html2
-rw-r--r--package-lock.json5
-rw-r--r--package.json4
-rwxr-xr-xrelease.sh50
10 files changed, 68 insertions, 13 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 50f88c4..5ebb69d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
+## [0.5.3-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/27) - 04 oct 2021
+
+- Fix top/bottom bar behavior when scrolling ([#520](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/520))
+
## [0.5.2-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/25) - 08 sep 2021
- Fix gitalk (really does not work on previous version) ([#504](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/504) and [#507](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/507)) (thank you @duval1024)
diff --git a/README.md b/README.md
index f3e9198..4abedff 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ How can I migrate my current version? Please read [CHANGELOG.md](https://github.
## General
- **Authors**: [Thibaud Leprêtre (kakawait)](https://github.com/kakawait) and [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro)
-- **Version**: 0.5.2-BETA (based on Hexo version 3.1.0)
+- **Version**: 0.5.3-BETA (based on Hexo version 3.1.0)
- **Compatibility**: Hugo v0.53
## Features
diff --git a/docs/developer.md b/docs/developer.md
index cb04139..837d13f 100644
--- a/docs/developer.md
+++ b/docs/developer.md
@@ -29,9 +29,9 @@ If you want to report a bug or ask a question, [create an issue](https://github.
## General ##
-- **Author** : Thibaud Leprêtre
-- **Version** : 0.5.2-BETA (based on Hexo version 3.1.0)
-- **Compatibility** : Hugo v0.53
+- **Author**: Thibaud Leprêtre
+- **Version**: 0.5.3-BETA (based on Hexo version 3.1.0)
+- **Compatibility**: Hugo v0.53
## Requirements ##
diff --git a/docs/user.md b/docs/user.md
index 374c417..c5bab4c 100644
--- a/docs/user.md
+++ b/docs/user.md
@@ -61,7 +61,7 @@ If you want to report a bug or ask a question, [create an issue](https://github.
## General
- **Authors**: [Thibaud Leprêtre (kakawait)](https://github.com/kakawait) and [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro)
-- **Version**: 0.5.2-BETA (based on Hexo version 3.1.0)
+- **Version**: 0.5.3-BETA (based on Hexo version 3.1.0)
- **Compatibility**: Hugo v0.53
## Features
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 0848fec..e60892d 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,5 +1,5 @@
# Tranquilpeak
-# Version : 0.5.2-BETA
+# Version : 0.5.3-BETA
# Author : Thibaud Leprêtre
# I STRONGLY recommend you to use a CDN to speed up loading of pages.
diff --git a/exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md b/exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md
index 6ec7a18..d64b5b8 100644
--- a/exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md
+++ b/exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md
@@ -1,5 +1,5 @@
---
-title: "Welcome to Tranquilpeak 0.5.2-BETA"
+title: "Welcome to Tranquilpeak 0.5.3-BETA"
date: 2015-06-15
categories:
- tranquilpeak
@@ -57,7 +57,7 @@ How can I migrate my current version? Please read [CHANGELOG.md](https://github.
## General
- **Authors**: [Thibaud Leprêtre (kakawait)](https://github.com/kakawait) and [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro)
-- **Version**: 0.5.2-BETA (based on Hexo version 3.1.0)
+- **Version**: 0.5.3-BETA (based on Hexo version 3.1.0)
- **Compatibility**: Hugo v0.53
## Features
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 6e668fe..0662392 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -1,7 +1,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
-<meta name="generator" content="Hugo {{ hugo.Version }} with theme Tranquilpeak 0.5.2-BETA">
+<meta name="generator" content="Hugo {{ hugo.Version }} with theme Tranquilpeak 0.5.3-BETA">
<meta name="author" content="{{ .Site.Author.name }}">
<meta name="keywords" content="{{ with .Keywords }}{{ delimit . ", " }}{{ end }}{{ if .Site.Params.keywords }}, {{ delimit .Site.Params.keywords ", " }}{{ end }}">
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else if .IsPage }}{{ .Summary }}{{ else }}{{ .Site.Params.description }}{{ end }}">
diff --git a/package-lock.json b/package-lock.json
index a9fd6ab..bd32da7 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,12 @@
{
"name": "hugo-tranquilpeak-theme",
- "version": "0.5.2-BETA",
+ "version": "0.5.3-BETA",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
- "version": "0.5.2-BETA",
+ "name": "hugo-tranquilpeak-theme",
+ "version": "0.5.3-BETA",
"license": "GPL-3.0",
"devDependencies": {
"eslint": "^7.32.0",
diff --git a/package.json b/package.json
index df3f629..e5a6173 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hugo-tranquilpeak-theme",
- "version": "0.5.2-BETA",
+ "version": "0.5.3-BETA",
"description": "A gorgeous responsive theme for Hugo blog framework",
"main": "Gruntfile.js",
"scripts": {
@@ -33,13 +33,13 @@
"eslint-config-google": "^0.14.0",
"grunt": "^1.4.1",
"grunt-cli": "^1.4.3",
- "grunt-exec": "^3.0.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^4.0.0",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "^1.1.0",
+ "grunt-exec": "^3.0.0",
"grunt-sails-linker": "^1.0.4",
"grunt-sass": "^3.1.0",
"grunt-sync": "^0.8.2",
diff --git a/release.sh b/release.sh
new file mode 100755
index 0000000..63739d9
--- /dev/null
+++ b/release.sh
@@ -0,0 +1,50 @@
+#!/usr/bin/env bash
+
+if [[ "$OSTYPE" == "darwin"* ]]; then
+ sed() {
+ gsed "$@"
+ }
+ date() {
+ gdate "$@"
+ }
+fi
+
+new_version="${1}"
+
+if [[ -z "${new_version}" ]]; then
+ echo "Missing argument: version"
+ exit 1
+fi
+
+current_version="$(node -p "require('./package.json').version")"
+
+echo "$current_version"
+
+echo "Current version is: ${current_version}"
+echo "New version will be: ${new_version}"
+echo
+read -p "Are you sure? [y/N] " -r
+
+if [[ $REPLY =~ ^[Yy]$ ]]; then
+ # package.json
+ npm pkg set version=${new_version}
+ # package-lock.json
+ npm i
+ # meta.html
+ sed -i 's/\(generator" content="[^"]*\)'"${current_version}"'/\1'"${new_version}"'/' layouts/partials/meta.html
+ # first blog post
+ sed -i 's/\(title: "[^"]*'"\)${current_version}"'/\1'"${new_version}"'/' exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md
+ sed -i 's/\(- \*\*Version\*\*: \)'"${current_version}"'/\1'"${new_version}"'/' exampleSite/content/posts/Welcome-to-the-new-Tranquilpeak.md
+ # config.toml
+ sed -i 's/\([#] Version : \)'"${current_version}"'/\1'"${new_version}"'/' exampleSite/config.toml
+ # user.md
+ sed -i 's/\(- \*\*Version\*\*: \)'"${current_version}"'/\1'"${new_version}"'/' docs/user.md
+ # developer.md
+ sed -i 's/\(- \*\*Version\*\*: \)'"${current_version}"'/\1'"${new_version}"'/' docs/developer.md
+ # README.md
+ sed -i 's/\(- \*\*Version\*\*: \)'"${current_version}"'/\1'"${new_version}"'/' README.md
+
+ npm run lint
+
+ echo "Do not forget to fill CHANGELOG.md"
+fi \ No newline at end of file