Updating tag page
This commit is contained in:
		
							parent
							
								
									739f2f1b90
								
							
						
					
					
						commit
						77c541316e
					
				
					 5 changed files with 63 additions and 67 deletions
				
			
		| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
    <meta charset="utf-8" />
 | 
					 | 
				
			||||||
    <meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
 | 
					 | 
				
			||||||
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
 | 
					 | 
				
			||||||
    <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0'>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    {% if page.excerpt %}
 | 
					 | 
				
			||||||
    <meta name="description" content="{{ page.excerpt| strip_html }}" />
 | 
					 | 
				
			||||||
    <meta property="og:description" content="{{ page.excerpt| strip_html }}" />
 | 
					 | 
				
			||||||
    {% else %}
 | 
					 | 
				
			||||||
    <meta name="description" content="{{ site.description }}">
 | 
					 | 
				
			||||||
    <meta property="og:description" content="{{ site.description }}" />
 | 
					 | 
				
			||||||
    {% endif %}
 | 
					 | 
				
			||||||
    <meta name="author" content="{{ site.name }}" />
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    {% if page.title %}
 | 
					 | 
				
			||||||
    <meta property="og:title" content="{{ page.title }}" />
 | 
					 | 
				
			||||||
    <meta property="twitter:title" content="{{ page.title }}" />
 | 
					 | 
				
			||||||
    {% endif %}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@ layout: default
 | 
				
			||||||
            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
					            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
				
			||||||
                <div class="post-heading">
 | 
					                <div class="post-heading">
 | 
				
			||||||
                    <h1>{{ page.title }}</h1>
 | 
					                    <h1>{{ page.title }}</h1>
 | 
				
			||||||
                    <h2 class="subheading">Articles posted in '{{ page.title }}'</h2>
 | 
					                    <h2 class="subheading">All articles posted in '{{ page.title }}'</h2>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
| 
						 | 
					@ -55,16 +55,6 @@ layout: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        <hr>
 | 
					                        <hr>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        <!-- <li>
 | 
					 | 
				
			||||||
                            <a href="{{ post.url }}/" class="read-more">
 | 
					 | 
				
			||||||
                                {{ post.title }}
 | 
					 | 
				
			||||||
                            </a>
 | 
					 | 
				
			||||||
                        </li>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                        {% if forloop.last %}
 | 
					 | 
				
			||||||
                            </ul>
 | 
					 | 
				
			||||||
                        {% endif %}
 | 
					 | 
				
			||||||
                    -->
 | 
					 | 
				
			||||||
                    {% endfor %}
 | 
					                    {% endfor %}
 | 
				
			||||||
                {% else %}
 | 
					                {% else %}
 | 
				
			||||||
                    <p>There are no posts in this category.</p>
 | 
					                    <p>There are no posts in this category.</p>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,18 +2,30 @@
 | 
				
			||||||
layout: default
 | 
					layout: default
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<article class="page">
 | 
					<!-- Post Header -->
 | 
				
			||||||
 | 
					<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <div class="container">
 | 
				
			||||||
 | 
					        <div class="row">
 | 
				
			||||||
 | 
					            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
				
			||||||
 | 
					                <div class="post-heading">
 | 
				
			||||||
                    <h1>{{ page.title }}</h1>
 | 
					                    <h1>{{ page.title }}</h1>
 | 
				
			||||||
 | 
					                    <h2 class="subheading">All articles tagged with '{{ page.title }}'</h2>
 | 
				
			||||||
 | 
					                </div>
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					</header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <p class='info'>
 | 
					<article class="page">
 | 
				
			||||||
        <span>Articles by tag</span>
 | 
					    <div class="container">
 | 
				
			||||||
    </p>
 | 
					        <div class="row">
 | 
				
			||||||
 | 
					            <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <hr/>
 | 
					 | 
				
			||||||
  
 | 
					 | 
				
			||||||
    <div id="post-content">
 | 
					 | 
				
			||||||
                {% if site.tags[page.tag] %}
 | 
					                {% if site.tags[page.tag] %}
 | 
				
			||||||
                    {% for post in site.tags[page.tag] %}
 | 
					                    {% for post in site.tags[page.tag] %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                        <!-- Uncomment for listing by year
 | 
				
			||||||
                        {% capture post_year %}{{ post.date | date: '%Y' }}{% endcapture %}
 | 
					                        {% capture post_year %}{{ post.date | date: '%Y' }}{% endcapture %}
 | 
				
			||||||
                        {% if forloop.first %}
 | 
					                        {% if forloop.first %}
 | 
				
			||||||
                            <h3>{{ post_year }}</h3><ul>
 | 
					                            <h3>{{ post_year }}</h3><ul>
 | 
				
			||||||
| 
						 | 
					@ -26,19 +38,31 @@ layout: default
 | 
				
			||||||
                                </div><h3>{{ post_year }}</h3><div class="list-group">
 | 
					                                </div><h3>{{ post_year }}</h3><div class="list-group">
 | 
				
			||||||
                            {% endif %}
 | 
					                            {% endif %}
 | 
				
			||||||
                        {% endif %}
 | 
					                        {% endif %}
 | 
				
			||||||
 | 
					                        -->
 | 
				
			||||||
                  
 | 
					                  
 | 
				
			||||||
                <li>
 | 
					                        <div class="post-preview">
 | 
				
			||||||
                    <a href="{{ post.url }}/" class="read-more">
 | 
					                            <a href="{{ post.url | prepend: site.baseurl }}">
 | 
				
			||||||
                        {{ post.title }}
 | 
					                                <h2 class="post-title">            {{ post.title }}
 | 
				
			||||||
                    </a>
 | 
					                                </h2>
 | 
				
			||||||
                </li>
 | 
					                                {% if post.subtitle %}
 | 
				
			||||||
 | 
					                                <h3 class="post-subtitle">
 | 
				
			||||||
                {% if forloop.last %}
 | 
					                                    {{ post.subtitle }}
 | 
				
			||||||
                    </ul>
 | 
					                                </h3>
 | 
				
			||||||
                                {% endif %}
 | 
					                                {% endif %}
 | 
				
			||||||
 | 
					                            </a>
 | 
				
			||||||
 | 
					                            <p class="post-meta">Posted by {% if post.author %}{{ post.author }}{% else %}{{ site.title }}{% endif %} on {{ post.date | date: "%B %-d, %Y" }}</p>
 | 
				
			||||||
 | 
					                        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                        <hr>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    {% endfor %}
 | 
					                    {% endfor %}
 | 
				
			||||||
                {% else %}
 | 
					                {% else %}
 | 
				
			||||||
            <p>There are no posts for this tag.</p>
 | 
					                    <p>There are no posts with this tag.</p>
 | 
				
			||||||
                {% endif %}
 | 
					                {% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					           </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
</article>
 | 
					</article>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<hr>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 32 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 283 KiB  | 
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue