HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.19k stars 2.9k forks source link

Feature Request: Filter posts by author #1422

Closed kiview closed 4 years ago

kiview commented 4 years ago

Feature Request: Filter posts by author

When using the pages widget for page type post, I'd like to use a content filter for author as well.

This could look like this

  [content.filters]
    tag = ""
    category = ""
    publication_type = ""
    exclude_featured = false
    author = "John Doe"

I assume it would be enough to add an addtional filter here https://github.com/gcushen/hugo-academic/blob/master/layouts/partials/widgets/pages.html#L21-L41 and I'd be happy to contribute this if it's feasible and something you'd consider adding.

kiview commented 4 years ago

The same desired filter option holds true for other page types (like talks) as well.