Revert changes to article breadcrumbs
This commit is contained in:
parent
c9d530522a
commit
baf61d74ae
|
@ -1,5 +1,5 @@
|
||||||
<header class="main__header">
|
<header class="main__header">
|
||||||
{% if eleventyNavigation %}
|
{% if isArticle %}
|
||||||
<ul class="breadcrumbs">
|
<ul class="breadcrumbs">
|
||||||
{% set breadcrumbNavPages = collections.all | eleventyNavigationBreadcrumb(articleTitle) %}
|
{% set breadcrumbNavPages = collections.all | eleventyNavigationBreadcrumb(articleTitle) %}
|
||||||
{%- for entry in breadcrumbNavPages %}
|
{%- for entry in breadcrumbNavPages %}
|
||||||
|
@ -9,10 +9,7 @@
|
||||||
➔
|
➔
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
|
|
||||||
{% if isArticle %}
|
|
||||||
<h1>{{ articleTitle }}</h1>
|
<h1>{{ articleTitle }}</h1>
|
||||||
<div class="article__info">
|
<div class="article__info">
|
||||||
<p>Posted on {{ date | niceDate }} by {{ sitemeta.siteAuthor.name }}
|
<p>Posted on {{ date | niceDate }} by {{ sitemeta.siteAuthor.name }}
|
||||||
|
|
Loading…
Reference in New Issue