47 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<div class="post-meta">
 | 
						|
 | 
						|
  {{ $baseUrl := .Site.BaseURL }}
 | 
						|
  {{ if isset .Params "topics" }}
 | 
						|
  {{ $count := len .Params.topics }}
 | 
						|
  {{ if gt $count 0 }}
 | 
						|
 | 
						|
  <span>
 | 
						|
    <div style="float:left; font-size:medium; font-weight:normal; padding: 2px; margin: 2px">
 | 
						|
      <i class="fa fa-calendar fa-fw"></i>
 | 
						|
      <time> {{ with .Site.Params.dateFormat }}{{ $.Date.Format . }}{{ else }}{{ .Date.Format "02 Jan 2006, 15:04 BST" }}{{ end }}</time>
 | 
						|
    </div>
 | 
						|
    <div style="float:right; font-size:small; font-weight: normal; padding: 2px; margin: 2px">
 | 
						|
      <time><em>Updated: {{ .Lastmod.Format "02 Jan 2006, 15:04" }} </em></time>
 | 
						|
    </div>
 | 
						|
 | 
						|
    <div class="featured-image">
 | 
						|
        {{ if isset .Params "image" }}
 | 
						|
        <figure><img src="{{ $.Site.Params.blogCdnUrl }}{{ with .Params.image }}{{ . }}{{ end }}" width="98%" height="375px"
 | 
						|
                     style="border-color: #777777; border-width: thin; border-style: solid"/></figure>
 | 
						|
        {{ end }}
 | 
						|
    </div>
 | 
						|
  </span>
 | 
						|
 | 
						|
    <div>
 | 
						|
        <i class="fa fa-folder fa-fw"></i>
 | 
						|
        {{ range $k, $v := .Params.topics }}
 | 
						|
        <a class="post-taxonomy-topic" href="{{ $baseUrl }}topics/{{ . | urlize }}">{{ . }}</a>
 | 
						|
        {{ if lt $k (sub $count 1) }} /{{ end }}
 | 
						|
        {{ end }}
 | 
						|
    </div>
 | 
						|
    {{ end }}
 | 
						|
    {{ end }}
 | 
						|
 
 | 
						|
    {{ if isset .Params "tags" }}
 | 
						|
    {{ $count := len .Params.tags }}
 | 
						|
    {{ if gt $count 0 }}
 | 
						|
    <div>
 | 
						|
        <i class="fa fa-tags fa-fw"></i>
 | 
						|
        {{ range $k, $v := .Params.tags }}
 | 
						|
        <a class="post-taxonomy-tag" href="{{ $baseUrl }}tags/{{ . | urlize }}">{{ . }}</a>
 | 
						|
        {{ if lt $k (sub $count 1) }} /{{ end }}
 | 
						|
        {{ end }}
 | 
						|
    </div>
 | 
						|
    {{ end }}
 | 
						|
    {{ end }}
 | 
						|
</div> |