copy new feed to old pliecan feed address
This commit is contained in:
parent
4fe0ab5de6
commit
4521aaa35a
2
Makefile
2
Makefile
@ -9,6 +9,8 @@ clean:
|
||||
|
||||
build:
|
||||
hugo
|
||||
mkdir public/feed
|
||||
cp public/index.xml public/feed/index.html
|
||||
|
||||
install_deps:
|
||||
apk add --no-cache lftp git
|
||||
|
@ -26,3 +26,8 @@ markup:
|
||||
unsafe: true
|
||||
highlight:
|
||||
style: algol
|
||||
outputs:
|
||||
home:
|
||||
- HTML
|
||||
- RSS
|
||||
- JSON
|
||||
|
5
layouts/index.json
Normal file
5
layouts/index.json
Normal file
@ -0,0 +1,5 @@
|
||||
{{- $.Scratch.Add "index" slice -}}
|
||||
{{- range .Site.RegularPages -}}
|
||||
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "categories" .Params.categories "contents" .Plain "permalink" .Permalink) -}}
|
||||
{{- end -}}
|
||||
{{- $.Scratch.Get "index" | jsonify -}}
|
Loading…
Reference in New Issue
Block a user