Convert docdock theme from submodule to native files and fix Hugo compatibility
This commit is contained in:
7
themes/docdock/layouts/shortcodes/recently-updated.html
Normal file
7
themes/docdock/layouts/shortcodes/recently-updated.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{.Inner}}
|
||||
|
||||
{{- range first 10 .Site.Pages }}
|
||||
<li>
|
||||
{{ .Date.Format "02/01/2006" }} - <a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user