Updating navigation

Your site's navigation menu can be updated directly in Typlog Admin from the Settings → Links & Social page. Most themes support site navigation configuration.

Site navigation

Site links

You can add and remove links from the settings. You can also drag to re-order navigation links. Theme developers can access this configuration through site.primary_links:

{% for nav in site.primary_links %}
<a href="{{ nav.url }}"{% if nav.blank %} target="_blank"{% endif %}>{{ nav.title }}</a>
{% endfor %}

Social links

Add social links of your site, such as Twitter, GitHub, Instagram, and etc. Please make sure the theme you are using supports this feature.

socials

For theme developers, you can render social icons with the built-in macro:

{% from "macros.j2" import render_social_icons %}
{{ render_social_icons(site) }}
Read more