Skip to content

Commit

Permalink
Transitioning to more dynamic setup #4
Browse files Browse the repository at this point in the history
  • Loading branch information
larsvilhuber committed May 1, 2024
1 parent 07697ce commit 7f4eebf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
14 changes: 14 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,17 @@ social:
- title: email
icon: envelope
url: mailto:[email protected]

# ----------------------- #
# Custom stuff #
# ----------------------- #

menu:
- title: Specification
url: "/trace-specification/docs/specifications.html"
- title: Infrastructure
url: "/trace-specification/"
- title: About
url: "#about"
- title: Contact
url: "#contact"
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
under Grants No. <a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=2209628">OAC-2209628</a>,
<a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=2209629">OAC-2209629</a>,
<a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=2209630">OAC-2209630</a>.
Copyright &copy; {{ site.title }} All Rights Reserved
Copyright &copy; {{ site.title }}. All Rights Reserved
</p>
</div>
</div>
Expand Down
15 changes: 5 additions & 10 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,17 @@
<a class="navbar-brand" href="#">{{ site.title }}</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
{% if site.menu.size > 0 %}
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
{% for link in site.menu %}
<li>
<a href="/trace-specification/docs/specifications.html">Specification</a>
</li>
<li>
<a href="/trace-specification/">Infrastructure</a>
</li>
<li>
<a href="#about">About</a>
</li>
<li>
<a href="#contact">Contact</a>
<a href="{{ link.url }}">{{ link.title }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
Expand Down

0 comments on commit 7f4eebf

Please sign in to comment.