mirror of
				https://github.com/simon987/dataarchivist.net.git
				synced 2025-10-31 04:46:51 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{ partial "header.html" . }}
 | |
| {{ partial "navbar.html" . }}
 | |
| 
 | |
| <div class="pure-g">
 | |
|   <div class="pure-u-1-24 pure-u-md-5-24"></div>
 | |
|   <div class="pure-u-11-12 pure-u-md-7-12">
 | |
|     <div class="post">
 | |
| 
 | |
|       <div class="post-title">
 | |
|         <p class="footnote">
 | |
|           <time datetime="{{ .Date }}">
 | |
|             {{ if .Site.Params.dateformatpretty }}
 | |
|               {{ .Date.Format .Site.Params.dateformatpretty }}
 | |
|             {{ else }}
 | |
|               {{ .Date.Format "01-02-2006" }}
 | |
|             {{ end }}
 | |
|           </time>
 | |
|         {{ $baseurl := .Site.BaseURL }}
 | |
|         {{ if or .Params.tags .Params.categories .Params.series }}
 | |
|         |
 | |
|         {{ end }}
 | |
|         {{ if isset .Params "tags" }}
 | |
|         tags: [ {{ range .Params.tags }}<a href="{{ $baseurl }}tags/{{ . | urlize }}/">{{ . }}</a> {{ end }}]
 | |
|         {{ end }}
 | |
| 
 | |
|         {{ if isset .Params "categories" }}
 | |
|         categories: [ {{ range .Params.categories }}<a href="{{ $baseurl }}categories/{{ . | urlize }}/">{{ . }}</a> {{ end }}]
 | |
|         {{ end }}
 | |
| 
 | |
|         {{ if isset .Params "series" }}
 | |
|         series: [ {{ range .Params.series }}<a href="{{ $baseurl }}series/{{ . | urlize }}/">{{ . }}</a> {{ end }}]
 | |
|         {{ end }}
 | |
|         </p>
 | |
|         <h1>{{ if .Draft }}DRAFT: {{end}}{{ .Title }}</h1>
 | |
| 		{{ if isset .Params "author" }}
 | |
| 		<div class="post-author">by {{ .Params.author }}</divv>
 | |
| 		{{ end }}
 | |
|       </div>
 | |
| 
 | |
|       <div class="post-content">
 | |
|         {{ if or .Params.toc (and (eq .Params.toc nil) .Site.Params.toc) -}}
 | |
|         {{ .TableOfContents }}
 | |
|         {{- end }}
 | |
|         {{ replace .Content "<table>" "<table class='pure-table pure-table-striped'>" | safeHTML }}
 | |
|       </div>
 | |
|     </div>
 | |
|   </div>
 | |
|   <div class="pure-u-1-24 pure-u-md-5-24"></div>
 | |
| </div>
 | |
| 
 | |
| {{ partial "footer.html" . }}
 |