Skip to content

Commit e1d2c5d

Browse files
authored
Merge pull request #430 from kakawait/hotfix/hugo-0.71-reg
hugo 0.71 regression on "and" syntax
2 parents d306f0d + dc86d25 commit e1d2c5d

File tree

11 files changed

+15
-11
lines changed

11 files changed

+15
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.4.8-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/23) - 29 mai 2020
6+
7+
- Fix regression from Hugo 0.71 ([#429](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/429))
8+
59
## [0.4.7-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/22) - 15 aug 2019
610

711
- Fix regression from Hugo 0.57 ([#371](https://github.com/kakawait/hugo-tranquilpeak-theme/issues/371))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Please all the credit should be attributed to [original *Hexo* version](https://
3636
## General
3737

3838
- **Authors**: [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro) and [Thibaud Leprêtre (kakawait)](https://github.com/kakawait)
39-
- **Version**: 0.4.7-BETA (based on Hexo version 1.10.0)
39+
- **Version**: 0.4.8-BETA (based on Hexo version 1.10.0)
4040
- **Compatibility**: Hugo v0.53
4141

4242
## Features

docs/developer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If you want to report a bug or ask a question, [create an issue](https://github.
2828
## General ##
2929

3030
- **Author** : Thibaud Leprêtre
31-
- **Version** : 0.4.7-BETA (based on Hexo version 1.10.0)
31+
- **Version** : 0.4.8-BETA (based on Hexo version 1.10.0)
3232
- **Compatibility** : Hugo v0.53
3333

3434
## Requirements ##

docs/user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If you want to report a bug or ask a question, [create an issue](https://github.
5555
## General
5656

5757
- **Authors**: [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro) and [Thibaud Leprêtre (kakawait)](https://github.com/kakawait)
58-
- **Version**: 0.4.7-BETA (based on Hexo version 1.10.0)
58+
- **Version**: 0.4.8-BETA (based on Hexo version 1.10.0)
5959
- **Compatibility**: Hugo v0.53
6060

6161
## Features

exampleSite/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Tranquilpeak
2-
# Version : 0.4.7-BETA
2+
# Version : 0.4.8-BETA
33
# Author : Thibaud Leprêtre
44

55
# I STRONGLY recommend you to use a CDN to speed up loading of pages.

exampleSite/content/post/Welcome-to-the-new-Tranquilpeak.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Welcome to Tranquilpeak 0.4.7-BETA"
2+
title: "Welcome to Tranquilpeak 0.4.8-BETA"
33
date: 2015-06-15
44
categories:
55
- tranquilpeak
@@ -65,7 +65,7 @@ Please all the credit should be attributed to [original *Hexo* version](https://
6565
## General
6666

6767
- **Authors**: [Louis Barranqueiro (LouisBarranqueiro)](https://github.com/LouisBarranqueiro) and [Thibaud Leprêtre (kakawait)](https://github.com/kakawait)
68-
- **Version**: 0.4.7-BETA (based on Hexo version 1.10.0)
68+
- **Version**: 0.4.8-BETA (based on Hexo version 1.10.0)
6969
- **Compatibility**: Hugo v0.53
7070

7171
## Features

layouts/partials/meta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<meta charset="UTF-8">
22
<meta name="viewport" content="width=device-width, initial-scale=1">
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4-
<meta name="generator" content="Hugo {{ hugo.Version }} with theme Tranquilpeak 0.4.7-BETA">
4+
<meta name="generator" content="Hugo {{ hugo.Version }} with theme Tranquilpeak 0.4.8-BETA">
55
<meta name="author" content="{{ .Site.Author.name }}">
66
<meta name="keywords" content="{{ with .Keywords }}{{ delimit . ", " }}{{ end }}{{ if .Site.Params.keywords }}, {{ delimit .Site.Params.keywords ", " }}{{ end }}">
77
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else if .IsPage }}{{ .Summary }}{{ else }}{{ .Site.Params.description }}{{ end }}">

layouts/shortcodes/codeblock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{{ $trimmedContent := trim .Inner "\n" }}
2121
<figure class="highlight {{ $.Scratch.Get "c-language" }} language-{{ with ($.Scratch.Get "c-language") }}{{ . }}{{ end }}">
2222
<figcaption>
23-
{{ if and (($.Scratch.Get "c-url") ($.Scratch.Get "c-title")) }}
23+
{{ if and ($.Scratch.Get "c-url") ($.Scratch.Get "c-title") }}
2424
<span>{{ $.Scratch.Get "c-title" }}</span><a href="{{ ($.Scratch.Get "c-url") | safeURL }}" target="_blank" rel="external">{{ $.Scratch.Get "c-link-text" | default ($.Scratch.Get "c-title") }}</a>
2525
{{ else if $.Scratch.Get "c-title" }}
2626
<span>{{ $.Scratch.Get "c-title" }}</span>

layouts/shortcodes/tabbed-codeblock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{{ end }}
2020
<figure class="codeblock codeblock--tabbed">
2121
<figcaption>
22-
{{ if and (($.Scratch.Get "tc-url") ($.Scratch.Get "tc-title")) }}
22+
{{ if and ($.Scratch.Get "tc-url") ($.Scratch.Get "tc-title") }}
2323
<span><a href="{{ ($.Scratch.Get "tc-url") | safeURL }}">{{ $.Scratch.Get "tc-title" }}</a></span>
2424
{{ else if $.Scratch.Get "tc-title" }}
2525
<span>{{ $.Scratch.Get "tc-title" }}</span>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)