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:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: hugomods/hugo:exts-0.148.1
|
||||
image: hugomods/hugo:exts-0.156.0
|
||||
steps:
|
||||
- name: Pipeline info
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{- index .Site.Data "calendar.json" }}
|
||||
{{- index hugo.Data "calendar.json" }}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{- range first 7 (sort $.Site.Data.calendar "dtstart" ) }}
|
||||
{{- range first 7 (sort hugo.Data.calendar "dtstart" ) }}
|
||||
{{- if eq ._type "vevent"}}
|
||||
<tr>
|
||||
{{- $start := time .dtstart }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue