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

How are descriptions determined for non-post pages? #257

Open
naddeoa opened this issue Jun 6, 2020 · 0 comments
Open

How are descriptions determined for non-post pages? #257

naddeoa opened this issue Jun 6, 2020 · 0 comments

Comments

@naddeoa
Copy link

naddeoa commented Jun 6, 2020

I've got a few non-post markdown pages on my site and it looks like the descriptions for those pages are determined to be more or less the entire content of the page, including script tags.

This is an example: https://naddeo.org/pokeboard/?mode=TypeFilterSearch&primary=ground&secondary=

It doesn't look like there are any metatags that can be used in non-post pages to explicitly set the description and I'm using the default template with

<meta name="description" content="@|description|">

Could you point me in the right direction to the code that determines what the description template variable should be? I'd like to explicitly set it in my non-post page or create some other way of overriding it.

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