Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support multiple categories in the same page #44

Open
andrecastro opened this issue Feb 2, 2023 · 0 comments
Open

[FEATURE] Support multiple categories in the same page #44

andrecastro opened this issue Feb 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@andrecastro
Copy link

Idea

Add the possibility to render two categories in the same page.

Example

Defining multiple categories in the mkdocs.yaml:

# mkdocs.yaml
  - blogging:
      categories:
        - name: announcements
          dirs:
            - news/announcements
          size: 5
          theme:
            name: card
        - name: partner
          dirs:
            - tutorials/partner
          size: 5
          theme:
            name: card
        - name: cicd
          dirs:
            - tutorials/cicd
          size: 5
          theme:
            name: card

and them, adding two or more categories in the same page:

# Tutorials

## CICD

{{ blog_content cicd }}

## Partner

{{ blog_content partner }}

Currently behavior is rendering only the first content for both sections.

@liang2kl liang2kl added the enhancement New feature or request label Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants