Skip to content

Task/WC-390 DPMP SEO Metadata#1333

Merged
shayanaijaz merged 9 commits into
task/digital-rocksfrom
task/WC-390-DPMP-SEO
Jul 14, 2026
Merged

Task/WC-390 DPMP SEO Metadata#1333
shayanaijaz merged 9 commits into
task/digital-rocksfrom
task/WC-390-DPMP-SEO

Conversation

@taoteg

@taoteg taoteg commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Overview

Added the metadata for the site level SEO code for Digital Porous Media Portal published projects pages.

Related

Changes

  • Incremented the ES image and configurations to match Core-Portal, Core-CMS (in order to support local dev for WSL2 environment).
  • Added the SEO metadata to the templating for Public published projects.
  • Added the additional methods required to populate the SEO metadata in the templating from the Publication model.

Testing

This is difficult to test locally because we do not have Published project data in local dev. To verify the meta elements are populating properly we will need to deploy the image in PPRD and test.

  1. Build and run the branch locally.
  2. Verify that the page templating now includes the same base metadata elements as are populated in the DesignSafe Publications templating in the Data Depot (but without project specific values as they are unavailable in local dev).

UI

The metadata elements are populated in the head element of the page. They can be viewed in the source view under the Elements tab (expand the head element and scroll down to find the meta tags).

Screenshot 2026-07-09 021540

Notes

taoteg added 4 commits July 8, 2026 22:43
…s. Added the additional methods required to populate the SEO metadata in the templating from the Publication model.
…ck a space thta was mistakenly deleted after the Publication class code block.

@shayanaijaz shayanaijaz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just added a comment for some cleanup

Comment thread server/portal/apps/publications/models.py Outdated
@taoteg
taoteg requested a review from shayanaijaz July 13, 2026 16:53
@shayanaijaz
shayanaijaz merged commit 66bf700 into task/digital-rocks Jul 14, 2026
0 of 4 checks passed
@shayanaijaz
shayanaijaz deleted the task/WC-390-DPMP-SEO branch July 14, 2026 01:55
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

Successfully merging this pull request may close these issues.

2 participants