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

post.excerpt appears above PostDetail.vue #5

Open
saddam-azad opened this issue Nov 5, 2023 · 2 comments
Open

post.excerpt appears above PostDetail.vue #5

saddam-azad opened this issue Nov 5, 2023 · 2 comments

Comments

@saddam-azad
Copy link

saddam-azad commented Nov 5, 2023

The PostDetail.vue template does not have a slot for post.excerpt yet in the post page (e.g. /blog/post/post4.html), the excerpt appears ABOVE the post followed by an HR tag. There does not appear to be a template to modify this.

I don't want to show the excerpt on the post page. Is there a template file that wraps around PostDetail.vue?

Capture

@sfxcode
Copy link
Owner

sfxcode commented Nov 19, 2023

Hi, help me to understand your issue.

If you don't add the excerpt, nothing is rendered and also no hr tag.

---
title: 5 Powerful Marketing Activities
author: Louis Lane
date: 2022-11-01
category: Tutorial

---

<PostDetail>

## Post Sample data

:smile:

</PostDetail>

imho nothing more is needed. If i am wrong please let me know.

Greetings,

Tom

@saddam-azad
Copy link
Author

Hi, thanks for your reply. Our use-case requires showing the excerpt in the blog index, but not showing it on the post detail page.

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