Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make each page get a unique ID based on the current path

Roland Geider894f6a982090
diff --git a/wger/manager/templates/mobile/template.html b/wger/manager/templates/mobile/template.html
index 5e1d38e4c..9fbaf50d4 100644
--- a/wger/manager/templates/mobile/template.html
+++ b/wger/manager/templates/mobile/template.html
@@ -42,7 +42,7 @@
</head>
<body>
-<div data-role="page">
+<div data-role="page" id="page-{{request_full_path|slugify}}">
<header data-role="header">
<h1>wger</h1>