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

Add content index page to _index.md #45

Open
Ja7ad opened this issue Oct 20, 2024 · 2 comments
Open

Add content index page to _index.md #45

Ja7ad opened this issue Oct 20, 2024 · 2 comments
Assignees

Comments

@Ja7ad
Copy link
Collaborator

Ja7ad commented Oct 20, 2024

All content of index page is in layout file index.html, we need to make internal shortcode for items in _index.md.

Short code for add, remove and modify each box:
image

Short code for modify text and reorder data from 1~4:
image

Short code for show news room and configurable for (total news, show image or no, show description or no)
image

Short code to change text and buttons
image

Short code to show or hide counts:
image

@alidevjimmy
Copy link
Contributor

Shortcodes are made for md files and we can't use them in layout files.
Instead we can use partial

@Ja7ad
Copy link
Collaborator Author

Ja7ad commented Oct 21, 2024

Shortcodes are made for md files and we can't use them in layout files. Instead we can use partial

Ok use partial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants