File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3535 - name : Setup Hugo
3636 uses : peaceiris/actions-hugo@v2
3737 with :
38- hugo-version : ' latest '
38+ hugo-version : ' 0.145.0 '
3939 extended : true
4040
4141 - name : Build with Hugo
Original file line number Diff line number Diff line change 11---
2- # To publish author profile pages, remove all the `_build ` and `cascade` settings below.
3- _build :
2+ # To publish author profile pages, remove all the `build ` and `cascade` settings below.
3+ build :
44 render : never
55cascade :
6- _build :
6+ build :
77 render : never
88 list : always
99---
Original file line number Diff line number Diff line change 77 < div class ="year-block {{ if $isMoatlabEra }}moatlab-era{{ else }}pre-moatlab-era{{ end }} "> {{ $year }}</ div >
88 < div class ="publication-layout ">
99 < div class ="publication-number-column ">
10- < span class ="publication-number "> {{ add .index 1 }}</ span >
10+ < span class ="publication-number "> {{ if .index }}{{ add .index 1 }}{{ else }}1{{ end }}</ span >
1111 </ div >
1212 < div class ="publication-content ">
1313 < div class ="publication-title ">
You can’t perform that action at this time.
0 commit comments