Skip to content

Commit

Permalink
Merge pull request #372 from kakawait/hotfix/hugo-0.57
Browse files Browse the repository at this point in the history
Upgrade index.html to support changes from 0.57
  • Loading branch information
kakawait authored Aug 15, 2019
2 parents 36538b8 + d6d100a commit 2ebbd3c
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ##

Expand Down
8 changes: 4 additions & 4 deletions docs/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -18,4 +18,4 @@
{{ partial "footer.html" . }}
</div>
</div>
{{ partial "foot.html" . }}
{{ partial "foot.html" . }}
2 changes: 1 addition & 1 deletion layouts/partials/meta.html
Original file line number Diff line number Diff line change
@@ -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 }}">
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2ebbd3c

Please sign in to comment.