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>2019-08-15 16:43:15 +0300
committerGitHub <noreply@github.com>2019-08-15 16:43:15 +0300
commit2ebbd3c4f2b98c5aa1d41ee2512fd5396d4de8c2 (patch)
treefb1fa401286f22cddf831db503f991a2c4231b52
parent36538b8a6b34aed09032d5e3333b8accd800e5d7 (diff)
parentd6d100a09d5f1eacc76ccc1c50c2f077bc9a1e6a (diff)
Merge pull request #372 from kakawait/hotfix/hugo-0.570.4.7-BETA
Upgrade index.html to support changes from 0.57
-rw-r--r--CHANGELOG.md4
-rw-r--r--README.md4
-rw-r--r--docs/developer.md4
-rw-r--r--docs/user.md8
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md6
-rw-r--r--layouts/index.html4
-rw-r--r--layouts/partials/meta.html2
-rw-r--r--package-lock.json2
-rw-r--r--package.json2
-rw-r--r--theme.toml2
11 files changed, 22 insertions, 18 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7ba3937..35f51b6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
+## [0.4.7-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/22) - 15 aug 2019
+
+- Fix regression from Hugo 0.57 ([#371](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/371))
+
## [0.4.6-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/21) - 10 jul 2019
- Fix coverImage url (again) ([#358](https://github.com/kakawait/hugo-tranquilpeak-theme/pull/358))
diff --git a/README.md b/README.md
index bd1d197..1ec45e1 100644
--- a/README.md
+++ b/README.md
@@ -36,8 +36,8 @@ Please all the credit should be attributed to [original *Hexo* version](https://
## General
- **Authors**: [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro) and [Thibaud Leprêtre (kakawait)](https://github.com/kakawait)
-- **Version**: 0.4.6-BETA (based on Hexo version 1.10.0)
-- **Compatibility**: Hugo v0.30
+- **Version**: 0.4.7-BETA (based on Hexo version 1.10.0)
+- **Compatibility**: Hugo v0.53
## Features
diff --git a/docs/developer.md b/docs/developer.md
index 106b840..2754c81 100644
--- a/docs/developer.md
+++ b/docs/developer.md
@@ -28,8 +28,8 @@ If you want to report a bug or ask a question, [create an issue](https://github.
## General ##
- **Author** : Thibaud Leprêtre
-- **Version** : 0.4.6-BETA (based on Hexo version 1.10.0)
-- **Compatibility** : Hugo v0.30
+- **Version** : 0.4.7-BETA (based on Hexo version 1.10.0)
+- **Compatibility** : Hugo v0.53
## Requirements ##
diff --git a/docs/user.md b/docs/user.md
index 6432241..a85562c 100644
--- a/docs/user.md
+++ b/docs/user.md
@@ -4,7 +4,7 @@ A gorgeous responsive theme for Hugo blog framework
[![Tranquilpeak](../showcase.png)](https://tranquilpeak.kakawait.com)
-Tranquilpeak theme is compatible with Hugo `v0.30`.
+Tranquilpeak theme is compatible with Hugo `v0.53`.
This documentation will help you to install hugo-tranquilpeak-theme and configure it to use all features which it provides.
@@ -55,8 +55,8 @@ If you want to report a bug or ask a question, [create an issue](https://github.
## General
- **Authors**: [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro) and [Thibaud Leprêtre (kakawait)](https://github.com/kakawait)
-- **Version**: 0.4.6-BETA (based on Hexo version 1.10.0)
-- **Compatibility**: Hugo v0.30
+- **Version**: 0.4.7-BETA (based on Hexo version 1.10.0)
+- **Compatibility**: Hugo v0.53
## Features
@@ -104,7 +104,7 @@ If you want to report a bug or ask a question, [create an issue](https://github.
## Requirements
-1. **Hugo** : `v0.30`
+1. **Hugo** : `v0.53`
## Installation
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index b89101d..c7b9fcc 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,5 +1,5 @@
# Tranquilpeak
-# Version : 0.4.6-BETA
+# Version : 0.4.7-BETA
# Author : Thibaud Leprêtre
# I STRONGLY recommend you to use a CDN to speed up loading of pages.
diff --git a/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md b/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md
index e7e14ec..3747719 100644
--- a/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md
+++ b/exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md
@@ -1,5 +1,5 @@
---
-title: "Welcome to Tranquilpeak 0.4.6-BETA"
+title: "Welcome to Tranquilpeak 0.4.7-BETA"
date: 2015-06-15
categories:
- tranquilpeak
@@ -65,8 +65,8 @@ Please all the credit should be attributed to [original *Hexo* version](https://
## General
- **Authors**: [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro) and [Thibaud Leprêtre (kakawait)](https://github.com/kakawait)
-- **Version**: 0.4.6-BETA (based on Hexo version 1.10.0)
-- **Compatibility**: Hugo v0.30
+- **Version**: 0.4.7-BETA (based on Hexo version 1.10.0)
+- **Compatibility**: Hugo v0.53
## Features
diff --git a/layouts/index.html b/layouts/index.html
index f8887d0..0a41340 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -9,7 +9,7 @@
{{ if eq .Params.covermeta "out" }}hasCoverMetaOut{{ else }}hasCoverMetaIn{{ end }}
{{ with .Params.coverCaption }}hasCoverCaption{{ end }}">
<section class="postShorten-group main-content-wrap">
- {{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
+ {{ $paginator := .Paginate (where .Site.RegularPages "Type" "post") }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
@@ -18,4 +18,4 @@
{{ partial "footer.html" . }}
</div>
</div>
-{{ partial "foot.html" . }} \ No newline at end of file
+{{ partial "foot.html" . }}
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index 8e3d014..d0eba4d 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.4.6-BETA">
+<meta name="generator" content="Hugo {{ hugo.Version }} with theme Tranquilpeak 0.4.7-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 7941aa4..d02947c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "hugo-tranquilpeak-theme",
- "version": "0.4.6-BETA",
+ "version": "0.4.7-BETA",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 21ceca9..609acea 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hugo-tranquilpeak-theme",
- "version": "0.4.6-BETA",
+ "version": "0.4.7-BETA",
"description": "A gorgeous responsive theme for Hugo blog framework",
"main": "Gruntfile.js",
"scripts": {
diff --git a/theme.toml b/theme.toml
index 530ad66..a06488c 100644
--- a/theme.toml
+++ b/theme.toml
@@ -5,7 +5,7 @@ description = "A gorgeous responsive theme for Hugo blog framework"
homepage = "https://github.com/kakawait/hugo-tranquilpeak-theme"
tags = ["blog", "minimal", "responsive", "personal", "customizable", "creative", "fontawesome", "highlight.js"]
features = ["blog", "themes", "disqus", "minimal", "responsive", "font awesome", "highlight.js"]
-min_version = 0.30
+min_version = 0.53
[author]
name = "Thibaud Leprêtre"