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 meta description tags to each page #609

Open
sbarber2 opened this issue Oct 22, 2024 · 4 comments
Open

Add meta description tags to each page #609

sbarber2 opened this issue Oct 22, 2024 · 4 comments
Labels
enhancement New feature or request
Milestone

Comments

@sbarber2
Copy link
Contributor

Google Lighthouse reports that we can raise our Lighthouse SEO score from 90 to 100 by adding unique <meta name="description" . . . . /> elements to each web page.

Screenshot 2024-10-22 at 8 38 17 AM

Here's an example of how to do this for our Jinja2 template html files:

Here's one for index.html:

...
{% extends 'base.html' %}

{% block head %}
<meta name="description" content="Plant Tracer is an educational web application to help students explore the genetics of plant movement"/>
{% endblock %}

{% block body %}
....
@sbarber2 sbarber2 added the enhancement New feature or request label Oct 22, 2024
@sbarber2 sbarber2 added this to the Dec2024 milestone Oct 22, 2024
@simsong
Copy link
Member

simsong commented Oct 22, 2024 via email

@sbarber2
Copy link
Contributor Author

sbarber2 commented Oct 22, 2024 via email

@simsong
Copy link
Member

simsong commented Oct 22, 2024 via email

@sbarber2
Copy link
Contributor Author

And thanks for the suggestion! I just added meta description tags to planttracer.com: Plant-Tracer/web-static#15

@sbarber2 sbarber2 modified the milestones: Dec2024, Jan2024 Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants