Skip to content

Commit

Permalink
Actually display the refs list
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneCurcuru committed Mar 27, 2024
1 parent 294a7d0 commit 5dbdc11
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion _layouts/aspect.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<article class="sustainability_aspect" itemscope itemtype="http://schema.org/Article">
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: '%B %d, %Y' }}">{% endif %}
<h1 id="name"><a href="#name" class="anchor-heading" aria-labelledby="name"></a>
<h1 id="name" itemprop="identifier"><a href="#name" class="anchor-heading" aria-labelledby="name"></a>
{{ page.title }}
</h1>

Expand All @@ -22,6 +22,13 @@ <h2 id="relationships">Relationships With Other Aspects</h2>

{{ content }}

<h3 id="references">Other Reference Links</h3>
{% if page.refs %}
<ul class="reflist">
{% for ref in page.refs %}<li><a href="{{ ref }}">{{ ref | remove: "https://" }}</a></li>{% endfor %}
</ul>
{% endif %}

{% if page.tags %}
<small>Tags: <em>{{ page.tags | join: "</em> | <em>" }}</em></small>
{% endif %}
Expand Down

0 comments on commit 5dbdc11

Please sign in to comment.