Skip to content

Commit

Permalink
Add saved map name and urlhash to title on the main screen
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonturner committed May 9, 2024
1 parent 60055a4 commit c97ad9f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion metro_map_saver/map_saver/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@
<meta name="twitter:image:src" content="https://metromapmaker.com/static/images/{{ saved_map.urlhash }}.png">
{% endif %}

<title>Metro Map Maker</title>
<title>
{% if saved_map and saved_map.name %}
{{ saved_map.name }} ({{ saved_map.urlhash }}) -
{% elif saved_map %}
{{ saved_map.urlhash }} -
{% endif %}
Metro Map Maker
</title>

<link rel="icon" href="{% static 'assets/favicon.ico' %}?version=2">
<link rel="stylesheet" href="{% static 'css/metromapmaker.css' as mmmcss %}{{ mmmcss }}?version={{ 'css/metromapmaker.css'|static_cache_version }}">
Expand Down

0 comments on commit c97ad9f

Please sign in to comment.