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

Excerpt #88

Open
CyberMODE opened this issue Mar 27, 2023 · 0 comments
Open

Excerpt #88

CyberMODE opened this issue Mar 27, 2023 · 0 comments

Comments

@CyberMODE
Copy link
Member

CyberMODE commented Mar 27, 2023

Hola, he cambiado en el article-teaser.ejs que en vez de hacer un resumen del post, pille el contenido del excerpt

Es posible que si no hay excerpt se haga automatico recortando el contenido?

<%- truncate(strip_html(post.content), { length:200 }) %>
<%- post.excerpt %>

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

1 participant