end of article tag moved to footer, nextprev on
This commit is contained in:
		@@ -2,5 +2,4 @@
 | 
			
		||||
<header><h1>{{ .Title }}</h1></header>
 | 
			
		||||
<article>
 | 
			
		||||
{{ .Content -}}
 | 
			
		||||
</article>
 | 
			
		||||
{{ partial "footer.html" . }}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,6 @@
 | 
			
		||||
{{ partial "nextprev.html" . -}}
 | 
			
		||||
{{ partial "taglist.html" . -}}
 | 
			
		||||
</article>
 | 
			
		||||
</main>
 | 
			
		||||
<footer>
 | 
			
		||||
	<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a><br><br>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										9
									
								
								layouts/partials/nextprev.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								layouts/partials/nextprev.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
	{{ if or .Next .Prev }}
 | 
			
		||||
	{{- with .Prev }}
 | 
			
		||||
	<a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a>
 | 
			
		||||
	{{ end }}
 | 
			
		||||
	{{- with .Next }}
 | 
			
		||||
	<a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a>
 | 
			
		||||
	{{ end }}
 | 
			
		||||
	<br style="clear:both">
 | 
			
		||||
	{{ end }}
 | 
			
		||||
@@ -33,3 +33,16 @@ footer {
 | 
			
		||||
	text-align: center ;
 | 
			
		||||
	clear: both ;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* For NEXTPREV.HTML */
 | 
			
		||||
#prevart {
 | 
			
		||||
	float: left ;
 | 
			
		||||
	text-align: left ;
 | 
			
		||||
}
 | 
			
		||||
#nextart {
 | 
			
		||||
	float: right ;
 | 
			
		||||
	text-align: right ;
 | 
			
		||||
}
 | 
			
		||||
#nextart,#prevart {
 | 
			
		||||
	max-width: 33% ;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user