File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1919 - name : Setup Hugo
2020 uses : peaceiris/actions-hugo@v2
2121 with :
22- hugo-version : " 0.133 .0"
22+ hugo-version : " 0.142 .0"
2323 extended : true
2424
2525 - name : Build
4444 - name : Setup Hugo
4545 uses : peaceiris/actions-hugo@v2
4646 with :
47- hugo-version : " 0.133 .0"
47+ hugo-version : " 0.142 .0"
4848 extended : true
4949
5050 - name : Build
Original file line number Diff line number Diff line change 11{{ if .Get "url" }}
22{{ $url := .Get "url" }}
3- {{ $limit := .Get "limit" | default 10 }}
3+ {{ $limit := .Get "limit" }}
44
55< section style ="margin-top: 2rem; ">
66 {{ with resources.GetRemote $url | transform.Unmarshal }}
7- {{ if gt (len .channel.item) 0 }}
87 {{ range first $limit .channel.item }}
98 < div style ="margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px dashed #696969 ">
109 < small > {{ dateFormat "January 2, 2006" .pubDate }}</ small >
@@ -14,7 +13,7 @@ <h3 style="margin-top: 0rem; margin-bottom: 0.5rem;">
1413 </ h3 >
1514 < p style ="margin-top: 0.5rem; "> {{ .encoded | plainify | truncate 200 }}</ p >
1615 < a href ="{{ .link }} " style ="padding-left: 1rem; "> Read more →</ a >
17- {{ end }}
16+ </ div >
1817 {{ end }}
1918 {{ end }}
2019 </ section >
You can’t perform that action at this time.
0 commit comments