Skip to content

Commit b277b8f

Browse files
committed
Updated links to markdown files
1 parent 3e1f95b commit b277b8f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

components/cta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ <h2>{{ include_dict.section.title | nl2br | safe }}</h2>
77
{% if include_dict.section.actions %}
88
<ul class="actions special">
99
{% for action in include_dict.section.actions %}
10-
<li><a href="{% if action.url | starts_with('#') %}{{ action.url }}{% else %}{{ action.url | link | relative_url }}{% endif %}" class="button{{ " primary" if action.is_primary }}{% if action.icon %} icon {{ action.icon }}{% endif %}{{ " scrolly" if action.is_scrolly }}">{{ action.label }}</a></li>
10+
<li><a href="{% if action.url | starts_with('#') %}{{ action.url }}{% else %}{{ action.url | relative_url }}{% endif %}" class="button{{ " primary" if action.is_primary }}{% if action.icon %} icon {{ action.icon }}{% endif %}{{ " scrolly" if action.is_scrolly }}">{{ action.label }}</a></li>
1111
{% endfor %}
1212
</ul>
1313
{% endif %}

components/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ <h1><a href="{% if site.data.header.title_url | starts_with("#") %}{{ site.data.
66
{% if site.data.header.actions %}
77
<ul class="actions">
88
{% for action in site.data.header.actions %}
9-
<li><a href="{% if action.url | starts_with('#') %}{{ action.url }}{% else %}{{ action.url | link | relative_url }}{% endif %}" class="button{{ " primary" if action.is_primary }}{% if action.icon %} icon {{ action.icon }}{% endif %}{{ " scrolly" if action.is_scrolly }}">{{ action.label }}</a></li>
9+
<li><a href="{% if action.url | starts_with('#') %}{{ action.url }}{% else %}{{ action.url | relative_url }}{% endif %}" class="button{{ " primary" if action.is_primary }}{% if action.icon %} icon {{ action.icon }}{% endif %}{{ " scrolly" if action.is_scrolly }}">{{ action.label }}</a></li>
1010
{% endfor %}
1111
</ul>
1212
{% endif %}

content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ sections:
5353
is_scrolly: false
5454
icon: fa-download
5555
- label: Learn More
56-
url: elements.md
56+
url: "/elements"
5757
is_primary: false
5858
is_scrolly: false
5959
type: cta

data/header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ subtitle: |-
55
actions:
66
- label: Download
77
icon: fa-download
8-
url: elements.md
8+
url: "/elements"
99
is_primary: true
1010
is_scrolly: false
1111
- label: Learn More

0 commit comments

Comments
 (0)