Skip to content
Permalink
Browse files

Update recent widget: "Section" → "Type"

  • Loading branch information...
Vimux committed Nov 5, 2019
1 parent a24d318 commit 35c9abe9deacd932f62a20eb1aaf133ec1c3069a
Showing with 1 addition and 1 deletion.
  1. +1 −1 layouts/partials/widgets/recent.html
@@ -1,4 +1,4 @@
{{- $recent := where .Site.RegularPages "Section" "in" .Site.Params.mainSections }}
{{- $recent := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
{{- $recent_num := (.Site.Params.widgets.recent_num | default 10) }}

{{- if $recent }}

0 comments on commit 35c9abe

Please sign in to comment.
You can’t perform that action at this time.