Skip to content

Commit

Permalink
Merge pull request #430 from kakawait/hotfix/hugo-0.71-reg
Browse files Browse the repository at this point in the history
hugo 0.71 regression on "and" syntax
  • Loading branch information
kakawait authored May 29, 2020
2 parents d306f0d + dc86d25 commit e1d2c5d
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 11 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.8-BETA](https://github.com/kakawait/hugo-tranquilpeak-theme/milestone/23) - 29 mai 2020

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

## [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))
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ 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.7-BETA (based on Hexo version 1.10.0)
- **Version**: 0.4.8-BETA (based on Hexo version 1.10.0)
- **Compatibility**: Hugo v0.53

## Features
Expand Down
2 changes: 1 addition & 1 deletion docs/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If you want to report a bug or ask a question, [create an issue](https://github.
## General ##

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

## Requirements ##
Expand Down
2 changes: 1 addition & 1 deletion docs/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ 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.7-BETA (based on Hexo version 1.10.0)
- **Version**: 0.4.8-BETA (based on Hexo version 1.10.0)
- **Compatibility**: Hugo v0.53

## Features
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.7-BETA
# Version : 0.4.8-BETA
# Author : Thibaud Leprêtre

# I STRONGLY recommend you to use a CDN to speed up loading of pages.
Expand Down
4 changes: 2 additions & 2 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.7-BETA"
title: "Welcome to Tranquilpeak 0.4.8-BETA"
date: 2015-06-15
categories:
- tranquilpeak
Expand Down Expand Up @@ -65,7 +65,7 @@ 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.7-BETA (based on Hexo version 1.10.0)
- **Version**: 0.4.8-BETA (based on Hexo version 1.10.0)
- **Compatibility**: Hugo v0.53

## Features
Expand Down
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.7-BETA">
<meta name="generator" content="Hugo {{ hugo.Version }} with theme Tranquilpeak 0.4.8-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 layouts/shortcodes/codeblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{{ $trimmedContent := trim .Inner "\n" }}
<figure class="highlight {{ $.Scratch.Get "c-language" }} language-{{ with ($.Scratch.Get "c-language") }}{{ . }}{{ end }}">
<figcaption>
{{ if and (($.Scratch.Get "c-url") ($.Scratch.Get "c-title")) }}
{{ if and ($.Scratch.Get "c-url") ($.Scratch.Get "c-title") }}
<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>
{{ else if $.Scratch.Get "c-title" }}
<span>{{ $.Scratch.Get "c-title" }}</span>
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/tabbed-codeblock.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{{ end }}
<figure class="codeblock codeblock--tabbed">
<figcaption>
{{ if and (($.Scratch.Get "tc-url") ($.Scratch.Get "tc-title")) }}
{{ if and ($.Scratch.Get "tc-url") ($.Scratch.Get "tc-title") }}
<span><a href="{{ ($.Scratch.Get "tc-url") | safeURL }}">{{ $.Scratch.Get "tc-title" }}</a></span>
{{ else if $.Scratch.Get "tc-title" }}
<span>{{ $.Scratch.Get "tc-title" }}</span>
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.7-BETA",
"version": "0.4.8-BETA",
"description": "A gorgeous responsive theme for Hugo blog framework",
"main": "Gruntfile.js",
"scripts": {
Expand Down

0 comments on commit e1d2c5d

Please sign in to comment.