Skip to content

Commit

Permalink
Merge pull request #169 from NFDI4Microbiota/elhossary
Browse files Browse the repository at this point in the history
Fix linking
  • Loading branch information
elhossary authored Feb 17, 2024
2 parents 05ebcbf + dbdd619 commit ac254c1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _includes/aside.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h5 class="offcanvas-title" id="bdSidebarOffcanvasLabel">Browse docs</h5>
{% if doc.hide != true %}
<!-- list-group-flush list-group-item-action needed for the full size pill with no borders-->
<!-- list-group-item-secondary needed for gray highlight -->
<li><a href="{{ doc.url | relative_url }}" class="bd-links-link d-inline-block rounded"
<li><a href="{{ doc.url | relative_url }}.html" class="bd-links-link d-inline-block rounded"
aria-current="page">{{ doc.title }}</a></li>
{%endif%}
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/breadcrumb.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% assign previous_url = previous_url | append: "/" | append: url_part %}
{% assign previous_url = previous_url | replace: "Home/", "" %}

<li class="breadcrumb-item"><a href="{{ previous_url | relative_url }}">{{ url_part }}</a></li>
<li class="breadcrumb-item"><a href="{{ previous_url | relative_url }}.html">{{ url_part }}</a></li>
{% endfor %}
</ol>
</nav>
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="container py-4 py-md-5 px-4 px-md-3 text-body-secondary">
<div class="row">
<div class="col-lg-3 mb-3">
<a class="d-inline-flex align-items-center mb-2 text-body-emphasis text-decoration-none" href="/"
<a class="d-inline-flex align-items-center mb-2 text-body-emphasis text-decoration-none" href="{{ '/ | relative_url }}"
aria-label="Bootstrap">

<img src="{{ '/assets/img/dfg_logo_schriftzug_blau_foerderung_en__1200x376.png' | relative_url }}" height="100" width="300"></img>
Expand Down
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<!-- list-group-flush list-group-item-action needed for the full size pill with no borders-->
<!-- list-group-item-secondary needed for gray highlight -->
{% unless doc.hide %}
<li><a href="{{ doc.url | relative_url }}" id="sidebar-link"
<li><a href="{{ doc.url | relative_url }}.html" id="sidebar-link"
class="link-dark rounded list-group-flush list-group-item-action {% if doc.empty %} text-muted {% endif %} {% if doc.url == page.url %} list-group-item-secondary {% endif %}">{{
doc.title }}</a></li>
{% endunless %}
Expand Down
4 changes: 0 additions & 4 deletions docs/_Getting-Started/01-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ title: The NFDI4Microbiota Knowledge Base
category: Getting-Started
layout: default
docs_css: markdown
redirect_from:
- /Getting-Started
- /Home
permalink: /
---

<!-- <div class="bd-intro pt-2 ps-lg-2">
Expand Down
4 changes: 4 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: default
redirect_to: Getting-Started/01-introduction.html
---

0 comments on commit ac254c1

Please sign in to comment.