mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Navigation bar
This commit is contained in:
		
							
								
								
									
										9
									
								
								_includes/navbar.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								_includes/navbar.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
{% assign pages = site.pages | where: "show", true %}
 | 
			
		||||
<nav class="navigation">
 | 
			
		||||
  <a href="{{ site.url | uri_escape }}">Home</a>
 | 
			
		||||
  {% for page in pages %}
 | 
			
		||||
    <a href="{{ page.url | relative_url | uri_escape }}">
 | 
			
		||||
      {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
 | 
			
		||||
    </a>
 | 
			
		||||
  {% endfor %}
 | 
			
		||||
</nav>
 | 
			
		||||
		Reference in New Issue
	
	Block a user