feat: Add featured content filtering for external data adapters
This commit is contained in:
parent
b0b6d9b285
commit
dac02d2179
2 changed files with 3 additions and 0 deletions
|
@ -16,10 +16,12 @@
|
|||
{{ $categories := slice "code" }}
|
||||
{{ $people := slice "Thomas A. Christensen II" }}
|
||||
{{ $link := .html_url }}
|
||||
{{ $featured := (gt .stars_count 0) }}
|
||||
{{ $params := dict
|
||||
"categories" $categories
|
||||
"people" $people
|
||||
"link" $link
|
||||
"featured" $featured
|
||||
}}
|
||||
{{ $page := dict
|
||||
"content" $content
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
"categories" $categories
|
||||
"people" $people
|
||||
"link" $link
|
||||
"featured" true
|
||||
}}
|
||||
{{ $page := dict
|
||||
"content" $content
|
||||
|
|
Loading…
Reference in a new issue