schema.org
This commit is contained in:
		
					parent
					
						
							
								c8de4e8611
							
						
					
				
			
			
				commit
				
					
						43c2d9925b
					
				
			
		
					 7 changed files with 70 additions and 41 deletions
				
			
		|  | @ -1,17 +1,28 @@ | |||
| 			<div id="page-meta" class="t30"> | ||||
| 				<p> | ||||
| 					<time class="icon-calendar pr20" datetime="{{ page.date | date: "%Y-%m-%d" }}" itemprop="datePublished">{{ page.date | date: "%Y-%m-%d" }}</time>{% if page.categories %}<span class="icon-archive pr20"> {{ page.categories | join: ' · ' | upcase }}{% endif %}</span> | ||||
| 					<span class="pr20">{% for tag in page.tags %}<span class="icon-price-tag pr10"> {{tag}}</span> {% endfor %}</span> | ||||
| 				</p> | ||||
| 					<!-- Look the author details up from the site config. --> | ||||
| 					{% assign author = site.data.authors[page.author] %} | ||||
| 					<!-- Output author details if some exist. --> | ||||
| 					{% if author %} | ||||
| 					<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name" class="pr20 icon-edit"><a href="{{ author.url }}" target="_blank"> {{ author.name }}</a></span> | ||||
| 				</span> | ||||
| 				{% endif %} | ||||
| 
 | ||||
| 				<div id="post-nav" class="row"> | ||||
| 				<time class="icon-calendar pr20" datetime="{{ page.date | date: "%Y-%m-%d" }}" itemprop="datePublished"> {{ page.date | date: "%Y-%m-%d" }}</time> | ||||
| 
 | ||||
| 				{% if page.categories %}<span class="icon-archive pr20"> {{ page.categories | join: ' · ' | upcase }}{% endif %}</span> | ||||
| 				<br> | ||||
| 				<span class="pr20">{% for tag in page.tags %}<span class="icon-price-tag pr10"> {{tag}}</span> {% endfor %}</span> | ||||
| 			</p> | ||||
| 
 | ||||
| 			<div id="post-nav" class="row"> | ||||
| 				 | ||||
| 				{% if page.previous.url %}  | ||||
| 					<div class="small-5 columns"><a class="button small radius prev" href="{{ site.url }}{{page.previous.url}}">« {{page.previous.title}}</a></div><!-- /.small-4.columns --> | ||||
| 				<div class="small-5 columns"><a class="button small radius prev" href="{{ site.url }}{{page.previous.url}}">« {{page.previous.title}}</a></div><!-- /.small-4.columns --> | ||||
| 				{% endif %}  | ||||
| 					<div class="small-2 columns text-center"><a class="radius button small" href="{{ site.url }}/blog/archive/" title="Blog Archive">{{ site.data.language.archive }}</a></div><!-- /.small-4.columns --> | ||||
| 				<div class="small-2 columns text-center"><a class="radius button small" href="{{ site.url }}/blog/archive/" title="Blog Archive">{{ site.data.language.archive }}</a></div><!-- /.small-4.columns --> | ||||
| 				{% if page.next.url %}  | ||||
| 					<div class="small-5 columns text-right"><a class="button small radius next" href="{{ site.url }}{{page.next.url}}">{{page.next.title}} »</a></div><!-- /.small-4.columns --> | ||||
| 				<div class="small-5 columns text-right"><a class="button small radius next" href="{{ site.url }}{{page.next.url}}">{{page.next.title}} »</a></div><!-- /.small-4.columns --> | ||||
| 				{% endif %}  | ||||
| 				</div> | ||||
| 			</div> | ||||
| 			</div><!--  /.page-meta --> | ||||
		Reference in a new issue