Theme,CI: Update for hugo v0.156 (.Site.Data)
This commit is contained in:
parent
ffce3b232c
commit
febd17bf78
2 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: hugomods/hugo:exts-0.148.1
|
image: hugomods/hugo:exts-0.156.0
|
||||||
steps:
|
steps:
|
||||||
- name: Pipeline info
|
- name: Pipeline info
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{{- index .Site.Data "calendar.json" }}
|
{{- index hugo.Data "calendar.json" }}
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{{- range first 7 (sort $.Site.Data.calendar "dtstart" ) }}
|
{{- range first 7 (sort hugo.Data.calendar "dtstart" ) }}
|
||||||
{{- if eq ._type "vevent"}}
|
{{- if eq ._type "vevent"}}
|
||||||
<tr>
|
<tr>
|
||||||
{{- $start := time .dtstart }}
|
{{- $start := time .dtstart }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue