Skip to content

How can I remove the "about" tab from the header? #2360

Closed Answered by mhdadk
mhdadk asked this question in Q&A
Discussion options

You must be logged in to vote

I'll answer my own own question. The "about" tab can be removed as follows.

  1. Open the file al-folio/_includes/header.liquid.
  2. Go to line 49, where you will see the following code:
    <!-- About -->
    <li class="nav-item {% if page.permalink == '/' %}active{% endif %}">
    <a class="nav-link" href="{{ '/' | relative_url }}">
    {{- about_title }}
    {% if page.permalink == '/' %}
    <span class="sr-only">(current)</span>
    {% endif %}
    </a>
    </li>
  3. Comment out this piece of code by adding the {% comment %} and {% endcomment %} delimiters as follows:
          <!-- About -->
          {% comment %}
          <…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mhdadk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant