suppressing tag and category meta pages
This commit is contained in:
		
							parent
							
								
									30b313a72c
								
							
						
					
					
						commit
						eea739c226
					
				
					 6 changed files with 9 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -18,13 +18,19 @@
 | 
			
		|||
                <li>
 | 
			
		||||
                    <a href="{{ site.baseurl }}/">Home</a>
 | 
			
		||||
                </li>
 | 
			
		||||
                {% for page in site.pages %}{% if page.title %}
 | 
			
		||||
                {% for page in site.pages %}
 | 
			
		||||
                {% if page.title %}
 | 
			
		||||
                <!-- suppress all category and tag meta pages -->
 | 
			
		||||
                {% if page.url contains '/meta/'}
 | 
			
		||||
                {% else %}
 | 
			
		||||
				{% if page.url != '/404.html' %}
 | 
			
		||||
                <li>
 | 
			
		||||
                    <a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
 | 
			
		||||
                </li>
 | 
			
		||||
                {% endif %}
 | 
			
		||||
                {% endif %}{% endfor %}
 | 
			
		||||
                {% endif %}
 | 
			
		||||
                {% endif %}
 | 
			
		||||
                {% endfor %}
 | 
			
		||||
            </ul>
 | 
			
		||||
        </div>
 | 
			
		||||
        <!-- /.navbar-collapse -->
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,5 @@
 | 
			
		|||
---
 | 
			
		||||
layout: page
 | 
			
		||||
description: "A Clean Blog Theme by Start Bootstrap"
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
{% for post in paginator.posts %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue