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

Integrate excerpt filter anchor links #35

Open
piperhaywood opened this issue Oct 3, 2019 · 3 comments
Open

Integrate excerpt filter anchor links #35

piperhaywood opened this issue Oct 3, 2019 · 3 comments
Assignees

Comments

@piperhaywood
Copy link
Collaborator

Dropped this b/c I was having trouble accessing the excerpt w/in a loop, turns out it is as simple as post.data.page.excerpt.

@piperhaywood piperhaywood self-assigned this Oct 3, 2019
@piperhaywood piperhaywood added this to the v0.2 milestone Oct 21, 2019
@piperhaywood
Copy link
Collaborator Author

Should link to anchor link, if possible

piperhaywood added a commit that referenced this issue Nov 1, 2019
piperhaywood added a commit that referenced this issue Nov 1, 2019
@piperhaywood
Copy link
Collaborator Author

This is related to #49

@piperhaywood
Copy link
Collaborator Author

I’ve now changed this to how Eleventy prefers it:

https://www.11ty.io/docs/data-frontmatter/#example%3A-parse-excerpts-from-content

I’ve updated the Mozfest post to use this, you’ll see a <!-- more --> tag where the Read more button goes. This is very similar to the way WordPress handles it.

Going to leave this open since ideally, I would like to have it link to an anchor link (again, similar to WordPress behaviour) but that can come slightly later.

@piperhaywood piperhaywood removed this from the v0.2 milestone Nov 1, 2019
@piperhaywood piperhaywood changed the title Integrate excerpt filter Integrate excerpt filter anchor links Nov 1, 2019
@piperhaywood piperhaywood added this to the v?? – Future milestone Nov 4, 2019
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