clean up post_meta page
This commit is contained in:
		
							parent
							
								
									619a504ecf
								
							
						
					
					
						commit
						9fba0cdde5
					
				@ -1,5 +1,10 @@
 | 
				
			|||||||
<div class="post-meta">
 | 
					<div class="post-meta">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  {{ $baseUrl := .Site.BaseURL }}
 | 
				
			||||||
 | 
					  {{ if isset .Params "topics" }}
 | 
				
			||||||
 | 
					  {{ $count := len .Params.topics }}
 | 
				
			||||||
 | 
					  {{ if gt $count 0 }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <span>
 | 
					  <span>
 | 
				
			||||||
    <div style="float:left; font-size:medium; font-weight:normal; padding: 2px; margin: 2px">
 | 
					    <div style="float:left; font-size:medium; font-weight:normal; padding: 2px; margin: 2px">
 | 
				
			||||||
      <i class="fa fa-calendar fa-fw"></i>
 | 
					      <i class="fa fa-calendar fa-fw"></i>
 | 
				
			||||||
@ -8,20 +13,15 @@
 | 
				
			|||||||
    <div style="float:right; font-size:small; font-weight: normal; padding: 2px; margin: 2px">
 | 
					    <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>
 | 
					      <time><em>Updated: {{ .Lastmod.Format "02 Jan 2006, 15:04" }} </em></time>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <br/>
 | 
					 | 
				
			||||||
  </span>
 | 
					 | 
				
			||||||
    <div class="featured-image">
 | 
					 | 
				
			||||||
    {{ if isset .Params "image" }}
 | 
					 | 
				
			||||||
        <img src="{{ with .Params.image }}{{ . }}{{ end }}" width="98%" height="385px"
 | 
					 | 
				
			||||||
             style="border-color: #777777; border-width: thin; border-style: solid"/>
 | 
					 | 
				
			||||||
    {{ end }}
 | 
					 | 
				
			||||||
    </div>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    {{ $baseUrl := .Site.BaseURL }}
 | 
					    <div class="featured-image">
 | 
				
			||||||
    <br/>
 | 
					        {{ if isset .Params "image" }}
 | 
				
			||||||
    {{ if isset .Params "topics" }}
 | 
					        <figure><img src="{{ with .Params.image }}{{ . }}{{ end }}" width="98%" height="375px"
 | 
				
			||||||
    {{ $count := len .Params.topics }}
 | 
					                     style="border-color: #777777; border-width: thin; border-style: solid"/></figure>
 | 
				
			||||||
    {{ if gt $count 0 }}
 | 
					        {{ end }}
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					  </span>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div>
 | 
					    <div>
 | 
				
			||||||
        <i class="fa fa-folder fa-fw"></i>
 | 
					        <i class="fa fa-folder fa-fw"></i>
 | 
				
			||||||
        {{ range $k, $v := .Params.topics }}
 | 
					        {{ range $k, $v := .Params.topics }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user