diff --git a/readthedocs/projects/tasks.py b/readthedocs/projects/tasks.py index 4bd6e959ba8..de65e746827 100644 --- a/readthedocs/projects/tasks.py +++ b/readthedocs/projects/tasks.py @@ -958,6 +958,8 @@ def update_static_metadata(project_pk, path=None): 'language': project.language, 'languages': list(languages), 'single_version': project.single_version, + 'subdomain': project.subdomain(), + 'canonical_url': project.get_canonical_url(), } try: fh = open(path, 'w+')