add prerender and prefetch

pull/5/head
Septs 2022-08-07 18:03:19 +08:00
parent 462e1a84ea
commit 9d863f9f95
No known key found for this signature in database
GPG Key ID: 6C253909AE7FC3A4
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{{- range .Pages }}
<link rel="prerender" href="{{ .Permalink }}">
{{- end }}
{{- range .Resources }}
<link rel="prefetch" href="{{ .Permalink }}">
{{- end }}