Skip to content

Commit

Permalink
fix QnA URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Sep 2, 2024
1 parent fcfa172 commit 7a8586f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions content/questions-and-answers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ Answers to the most frequently asked questions about RGB smart contracts

Answers to non-technical questions for users of the system and contract issuers.

<a href="questions-and-answers/user" class="button">Read</a>
<a href="/questions-and-answers/user" class="button">Read</a>

- ## For developers

Detailed technical answers on questions about RGB internals for developers.

<a href="questions-and-answers/dev" class="button">Read</a>
<a href="/questions-and-answers/dev" class="button">Read</a>

- ## For system engineers

Answers to questions on RGB core components, consensus and standard libraries.

<a href="questions-and-answers/legal" class="button">Read</a>
<a href="/questions-and-answers/legal" class="button">Read</a>
5 changes: 3 additions & 2 deletions templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
{% endblock social_media %}

{% block breadcrumbs %}
{% set_global path = "" %}
{% for item in page.components %}
{% set path = "" %}
{% set len = page.components | length %}
{% for item in page.components | slice(end=len - 1) %}
{% set_global path = path ~ "/" ~ item %}
<li>/</li>
<li><a href='{{ path }}'>{{ item | replace(from="-", to=" ") | title }}</a></li>
Expand Down
5 changes: 3 additions & 2 deletions templates/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ <h2>{{ section.title }}</h2>
{% endblock content %}

{% block breadcrumbs %}
{% set_global path = "" %}
{% for item in section.components %}
{% set path = "" %}
{% set len = section.components | length %}
{% for item in section.components | slice(end=len - 1) %}
{% set_global path = path ~ "/" ~ item %}
<li>/</li>
<li><a href='{{ path }}'>{{ item | replace(from="-", to=" ") | title }}</a></li>
Expand Down

0 comments on commit 7a8586f

Please sign in to comment.