diff options
author | luxagraf <sng@luxagraf.net> | 2023-12-17 12:44:13 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2023-12-17 12:44:13 -0500 |
commit | 31d62be239eec6f26a1551553f36f2b4776e8e9c (patch) | |
tree | dabe86a6322805e00dea3e3b27efd906c4c207d5 /templates | |
parent | dc4465b9f1cfb3e6865f2f87017523f0b1eee63e (diff) |
jrnl: removed some useless metadata from templates and fixed an issue
with breadcrumbs
Diffstat (limited to 'templates')
-rw-r--r-- | templates/lib/breadcrumbs.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/lib/breadcrumbs.html b/templates/lib/breadcrumbs.html index 025b8e4..3600997 100644 --- a/templates/lib/breadcrumbs.html +++ b/templates/lib/breadcrumbs.html @@ -1,13 +1,13 @@ <nav class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList"> - <span class="nav-item" itemprop="item"> + <span class="nav-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <a href="/" itemprop="name">Home</a> <meta itemprop="position" content="1" /> </span>{% for crumb in breadcrumbs %}{% if crumb_url %} - <span class="nav-item" itemprop="item"> + <span class="nav-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <a href="{{crumb_url}}" itemprop="name">{{crumb}}</a> <meta itemprop="position" content="{{ forloop.counter|add:"+1" }}" /> </span>{% else %} - <span class="nav-item" itemprop="item"> + <span class="nav-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <span itemprop="name">{{crumb}}</span> <meta itemprop="position" content="2" /> </span>{% endif %}{%endfor%} |