-
Create
_data
directory in theme root. -
Create
navigation.yml
file inside the_data
directory and add the following as per the website:
- title: Home
url: /
- title: Contact Cycling Today
url: /contact
- name: Live Cycling Races
link: /live-cycling
- name: Privacy Policy
link: /privacy_policy
- In
navigation.html
replace all the current content with the following lines:
{% for link in site.data.navigation %}
<li class='c-nav__item'><a class='c-nav__link' href='{{ link.url }}'>{{ link.title }}</a></li>
{% endfor %}