mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 14:59:45 +03:00 
			
		
		
		
	Fixed the generation of links in the header
This commit is contained in:
		@@ -3,10 +3,11 @@
 | 
			
		||||
  <ul class="navigation-list float-right">
 | 
			
		||||
    <li class="navigation-item">
 | 
			
		||||
      {% for item in site.pages reversed %}
 | 
			
		||||
        {% assign title = item.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify %}
 | 
			
		||||
        {% assign link = item.url | relative_url | uri_escape %}
 | 
			
		||||
        <!-- Show the link -->
 | 
			
		||||
        {% if item.show == true %}
 | 
			
		||||
          <a href="{{ item.url | relative_url | uri_escape }}" class="navigation-link">
 | 
			
		||||
            {{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
 | 
			
		||||
          </a>
 | 
			
		||||
          <a href="{{ link }}" class="navigation-link">{{ title }}</a>
 | 
			
		||||
        {% endif %}
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
    </li>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user