mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Aesthetic navigation bar
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -2,15 +2,21 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
<nav role="navigation">
 | 
					<nav role="navigation">
 | 
				
			||||||
  <div class="container">
 | 
					  <div class="container">
 | 
				
			||||||
    <ul class="nav nav-pills pull-right">
 | 
					    <ul class="nav nav-pills">
 | 
				
			||||||
      <li role="presentation"><a href="/">Home</a></li>
 | 
					      {% unless page.url == "/index.html" %}
 | 
				
			||||||
      {% for page in pages %}
 | 
					        <li role="presentation"><a href="/"><< Home</a></li>
 | 
				
			||||||
        <li role="presentation">
 | 
					      {% endunless %}
 | 
				
			||||||
          <a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
 | 
					
 | 
				
			||||||
            {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
 | 
					      <!-- Right side -->
 | 
				
			||||||
          </a>
 | 
					      <ul class="nav nav-pills pull-right">
 | 
				
			||||||
        </li>
 | 
					        {% for page in pages %}
 | 
				
			||||||
      {% endfor %}
 | 
					          <li role="presentation">
 | 
				
			||||||
 | 
					            <a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
 | 
				
			||||||
 | 
					              {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}
 | 
				
			||||||
 | 
					            </a>
 | 
				
			||||||
 | 
					          </li>
 | 
				
			||||||
 | 
					        {% endfor %}
 | 
				
			||||||
 | 
					      </ul>
 | 
				
			||||||
    </ul>
 | 
					    </ul>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</nav>
 | 
					</nav>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user