File tree 8 files changed +14
-14
lines changed
8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 39
39
label : Hugo Version
40
40
description : What version of Hugo are you running?
41
41
options :
42
- - Hugo >= 0.125.7 (Recommended - Minimum version required for PaperMod)
43
- - Hugo < 0.125.7 (Incompatible - Not recommended to build PaperMod on lower versions)
42
+ - Hugo >= 0.146.0 (Recommended - Minimum version required for PaperMod)
43
+ - Hugo < 0.146.0 (Incompatible - Not recommended to build PaperMod on lower versions)
44
44
validations :
45
45
required : true
46
46
- type : input
Original file line number Diff line number Diff line change 15
15
hugoVersion :
16
16
description : " Hugo Version"
17
17
required : false
18
- default : " 0.125.7 "
18
+ default : " 0.146.0 "
19
19
20
20
# Allow one concurrent deployment
21
21
concurrency :
38
38
build :
39
39
runs-on : ubuntu-latest
40
40
env :
41
- HUGO_VERSION : ${{ github.event.inputs.hugoVersion || '0.125.7 ' }}
41
+ HUGO_VERSION : ${{ github.event.inputs.hugoVersion || '0.146.0 ' }}
42
42
steps :
43
43
- name : Install Hugo CLI
44
44
run : |
Original file line number Diff line number Diff line change 11
11
** ExampleSite** can be found here: [ ** exampleSite** ] ( https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite ) . Demo is built up with [ exampleSite] ( https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite ) as source.
12
12
13
13
[ ![ hugo-papermod] ( https://img.shields.io/badge/Hugo--Themes-@PaperMod-blue )] ( https://themes.gohugo.io/themes/hugo-papermod/ )
14
- [ ![ Minimum Hugo Version] ( https://img.shields.io/static/v1?label=min-HUGO-version&message=>=v0.125.7 &color=blue&logo=hugo )] ( https://github.com/gohugoio/hugo/releases/tag/v0.125.7 )
14
+ [ ![ Minimum Hugo Version] ( https://img.shields.io/static/v1?label=min-HUGO-version&message=>=v0.146.0 &color=blue&logo=hugo )] ( https://github.com/gohugoio/hugo/releases/tag/v0.146.0 )
15
15
[ ![ Discord] ( https://img.shields.io/discord/971046860317921340?label=Discord&logo=discord )] ( https://discord.gg/ahpmTvhVmp )
16
16
[ ![ GitHub] ( https://img.shields.io/github/license/adityatelange/hugo-PaperMod )] ( https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE )
17
17
![ code-size] ( https://img.shields.io/github/languages/code-size/adityatelange/hugo-PaperMod )
Original file line number Diff line number Diff line change 1
- {{- if lt hugo.Version "0.125.7 " }}
2
- {{- errorf "=> hugo v0.125.7 or greater is required for hugo-PaperMod to build " }}
1
+ {{- if lt hugo.Version "0.146.0 " }}
2
+ {{- errorf "=> hugo v0.146.0 or greater is required for hugo-PaperMod to build " }}
3
3
{{- end -}}
4
4
5
5
<!DOCTYPE html>
Original file line number Diff line number Diff line change 150
150
151
151
{{- /* Misc */}}
152
152
{{- if hugo.IsProduction | or (eq site.Params.env "production") }}
153
- {{- template "_internal/ google_analytics.html" . }}
154
- {{- template "partials/ templates/opengraph.html" . }}
155
- {{- template "partials/ templates/twitter_cards.html" . }}
156
- {{- template "partials/ templates/schema_json.html" . }}
153
+ {{- partial " google_analytics.html" . }}
154
+ {{- partial " templates/opengraph.html" . }}
155
+ {{- partial " templates/twitter_cards.html" . }}
156
+ {{- partial " templates/schema_json.html" . }}
157
157
{{- end -}}
Original file line number Diff line number Diff line change 85
85
{ { ( path . Join . RelPermalink . Params . cover . image ) | absURL } } ,
86
86
{ { - end } }
87
87
{ { - else } }
88
- { { - $images := partial "partials/ templates/_funcs/get-page-images" . - } }
88
+ { { - $images := partial "templates / _funcs / get - page - images " . -}}
89
89
{ { - with index $images 0 - } }
90
90
"image" : { { . Permalink } } ,
91
91
{ { - end } }
Original file line number Diff line number Diff line change 6
6
< meta name ="twitter:image " content ="{{ (path.Join .RelPermalink .Params.cover.image ) | absURL }} ">
7
7
{{- end}}
8
8
{{- else }}
9
- {{- $images := partial "partials/ templates/_funcs/get-page-images" . -}}
9
+ {{- $images := partial "templates/_funcs/get-page-images" . -}}
10
10
{{- with index $images 0 -}}
11
11
< meta name ="twitter:card " content ="summary_large_image ">
12
12
< meta name ="twitter:image " content ="{{ .Permalink }} ">
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ features = [
38
38
" scroll-to-top" ,
39
39
" search"
40
40
]
41
- min_version = " 0.125.7 "
41
+ min_version = " 0.146.0 "
42
42
43
43
[author ]
44
44
name = " Aditya Telange"
You can’t perform that action at this time.
0 commit comments