Stop linkifying the current breadcrumb item

Amolith created

Change summary

templates/project.html | 2 +-
templates/task.html    | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

templates/project.html 🔗

@@ -8,7 +8,7 @@
   <ol class="unstyled hstack">
     <li><a href="/" class="unstyled">Projects</a></li>
     <li aria-hidden="true">/</li>
-    <li><a href="/projects/{{ project_name }}" class="unstyled" aria-current="page"><strong>{{ project_name }}</strong></a></li>
+    <li aria-current="page"><strong>{{ project_name }}</strong></li>
   </ol>
 </nav>
 

templates/task.html 🔗

@@ -9,7 +9,7 @@
     <li aria-hidden="true">/</li>
     <li><a href="/projects/{{ project_name }}" class="unstyled">{{ project_name }}</a></li>
     <li aria-hidden="true">/</li>
-    <li><a href="/projects/{{ project_name }}/tasks/{{ task.full_id }}" class="unstyled" aria-current="page"><strong>{{ task.short_id }}</strong></a></li>
+    <li aria-current="page"><strong>{{ task.short_id }}</strong></li>
     <li>
       <button class="outline small js-copy-id" hidden aria-label="Copy task ID {{ task.short_id }}" data-copy="{{ task.short_id }}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg></button>
     </li>