Skip to content

Commit

Permalink
finished guide for adding tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
lorhzy09 committed Sep 1, 2023
1 parent 4942ff1 commit a4af721
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
6 changes: 0 additions & 6 deletions docs/website-guide/add-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,3 @@ nav_order: 2




**You have successfully added an image to the github pages repository. Congratulations!** πŸŽ‰πŸŽ‰




16 changes: 14 additions & 2 deletions docs/website-guide/add-tab.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,24 @@ parent: Website Guide
nav_order: 3
---

# How to add tabs to the website?
# Adding tabs

1. Go to `_data/navigation.yml` file:

![nav folder]({{ site.baseurl }}/assets/img/website-guide/add-tab-1.png)


2. Edit and specify the title and section of the tab you wish to add.

For example, this line:

![nav tab code]({{ site.baseurl }}/assets/img/website-guide/add-tab-2.png)

results in the following display on the website:

![tab display]({{ site.baseurl }}/assets/img/website-guide/add-tab-3.png)


**You have successfully added a tab to the github pages repository. Congratulations!** πŸŽ‰πŸŽ‰



Expand Down

0 comments on commit a4af721

Please sign in to comment.