How to chnage the blog page to something else? #2483
-
I write my blogs and it is hosted by quartz under the naming of |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Simply link to it like an external website, with the full url.
You can simple remove |
Beta Was this translation helpful? Give feedback.
-
In which code file should the link be placed exactly? |
Beta Was this translation helpful? Give feedback.
-
Ok now I get it. You'll need to do a change in _includes/header.liquid, more specifically do something like this part: <li class="nav-item {% if page.url contains p.permalink %}active{% endif %}">
{% if p.permalink contains '/blog/' %}{% assign url = '/blog/' %} {% else %}{% assign url = p.url %}{% endif %}
<a class="nav-link" href="{{ url | relative_url }}">
{{- p.title }}
{% if page.url contains p.url %}
<span class="sr-only">(current)</span>
{% endif %}
</a>
</li> But simply set the |
Beta Was this translation helpful? Give feedback.
Ok now I get it. You'll need to do a change in _includes/header.liquid, more specifically do something like this part:
But simply set the
href
to yourxyz.github.io/notes
. Just note that this part of the code is responsible for creating all the pages in the header in the order they were set, so if you want the blog to …