Skip to content

Commit 5fbd4c9

Browse files
authored
Merge pull request #1364 from makeabilitylab/seo-home-title-uw
chore(release): 2.16.1 — shorten home <title> to 'HCI & AI Research at UW'
2 parents f0f644b + 7643702 commit 5fbd4c9

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

makeabilitylab/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
8787

8888
# Makeability Lab Global Variables, including Makeability Lab version
89-
ML_WEBSITE_VERSION = "2.16.0" # Keep this updated with each release and also change the short description below
90-
ML_WEBSITE_VERSION_DESCRIPTION = "Keyword taxonomy cleanup tooling (#1352): a 'Merge selected keywords' admin action on the Keyword changelist that reassigns every reference (across Publications, Talks, Posters, Grants, Projects, and Project Umbrellas) onto a chosen target and deletes the duplicates, plus a read-only 'Duplicate keywords' Data Health check that finds case/whitespace variants and deep-links to the filtered changelist to merge them. Keyword.save() now normalizes whitespace so casual variants can't be created. Also: the merge reassigns at the M2M through-table level to stay compatible with the legacy sort_value column on website_publication_keywords. Admin hygiene (#1346): the Photo changelist no longer crashes on a missing image file and now shows the owning project. SEO on-page fixes (duplicate <title>, /None sponsor links, YouTube embed)."
89+
ML_WEBSITE_VERSION = "2.16.1" # Keep this updated with each release and also change the short description below
90+
ML_WEBSITE_VERSION_DESCRIPTION = "SEO: shorten the home page <title> to 'HCI & AI Research at UW | Makeability Lab' so it stays under Google's ~60-character display limit (the 2.16.0 'University of Washington' variant was truncated). Follow-up to the 2.16.0 on-page SEO fixes."
9191
DATE_MAKEABILITYLAB_FORMED = datetime.date(2012, 1, 1) # Date Makeability Lab was formed
9292
MAX_BANNERS = 7 # Maximum number of banners on a page
9393

website/templates/website/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
{% endcomment %}
5252

5353
{# base.html appends " | Makeability Lab", so this block holds only the descriptive prefix (repeating the lab name here caused a duplicated title). #}
54-
{% block pagetitle %}HCI &amp; AI Research at the University of Washington{% endblock %}
54+
{% block pagetitle %}HCI &amp; AI Research at UW{% endblock %}
5555

5656
{% load static %}
5757
{% load thumbnail %}

website/tests/test_page_metadata.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ def test_home_title_is_not_duplicated(self):
7676
resp = self.client.get(reverse("website:index"), secure=True)
7777
self.assertNotContains(resp, "<title>Makeability Lab | Makeability Lab</title>")
7878
self.assertContains(
79-
resp,
80-
"<title>HCI &amp; AI Research at the University of Washington "
81-
"| Makeability Lab</title>",
79+
resp, "<title>HCI &amp; AI Research at UW | Makeability Lab</title>"
8280
)
8381

8482
def test_no_http_scheme_in_social_urls(self):

0 commit comments

Comments
 (0)