# Identische Titel führen zu identischen IDs und Ankerpunkten

**URL:** <https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649>\
**Category:** Feature\
**Tags:** pr-welcome, disco-toc\
**Created:** [21. Juni 2023 um 08:00 UTC](https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649 "2023-06-21T08:00:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [5. Juli 2023 um 18:46 UTC](https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649/4 "2023-07-05T18:46:08Z")

</div>

> [@Richard – Communiteq](#):
>
> Hmm nein, die Anker erhalten eindeutige `name`-Attribute

Die Werte der Attribute basieren auf den Inhalten der Titel, sodass identische Titel identische `id`- und `data-d-toc`-Attribute haben:

Letzter „Aim“-Titel:

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/8/a/38a439bdf25466234e7de47acd2c7aa70efb9cd7.png)

Führt zum ersten Aim, das ein `id`- und ein `data-d-toc`-Attribut hat, dessen Wert derselbe ist wie das letzte ToC-Element:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/5/c/c5c591adb94ce71118d67ac0b415b8a275794151.png)

---

_[View the full topic](https://meta.discourse.org/t/having-identical-titles-leads-to-identical-ids-and-anchors/270649)._
