Skip to content

Commit

Permalink
no nutshell on all-examples page
Browse files Browse the repository at this point in the history
  • Loading branch information
Per-Starke committed Jun 8, 2024
1 parent 5295837 commit 38199ee
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions _includes/example-header-nonutshell.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% assign page = include.page %}

<li>
{% if include.link %}
<a class="post-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% else %}
{{ page.title }}
{% endif %}
</li>

2 changes: 1 addition & 1 deletion _pages/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ These examples illustrate the various sections of arc42, taken from real-life sy
<ul>
{% assign examples = site.examples %}
{% for example in examples %}
{% include example-header.html page=example link=true %}
{% include example-header-nonutshell.html page=example link=true %}
{% endfor %}
</ul>

Expand Down

0 comments on commit 38199ee

Please sign in to comment.