before implementing search
This commit is contained in:
		
							
								
								
									
										12
									
								
								themes/fiscleconsult/layouts/_default/baseof.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								themes/fiscleconsult/layouts/_default/baseof.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
    {{- partial "head.html" . -}}
 | 
			
		||||
    <body>
 | 
			
		||||
        {{- partial "header.html" . -}}
 | 
			
		||||
        <div id="content">
 | 
			
		||||
        {{- block "main" . }}{{- end }}
 | 
			
		||||
        </div>
 | 
			
		||||
        {{- partial "footer.html" . -}}
 | 
			
		||||
        {{- partial "script.html" . -}}
 | 
			
		||||
    </body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										43
									
								
								themes/fiscleconsult/layouts/_default/list.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								themes/fiscleconsult/layouts/_default/list.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
{{ define "main" }}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<h1>{{ .Name }}</h1>
 | 
			
		||||
 | 
			
		||||
<div class="articles">
 | 
			
		||||
    {{ range .Pages.ByPublishDate.Reverse }}
 | 
			
		||||
    {{ $dateTime := .PublishDate.Format "2006-01-02" }}
 | 
			
		||||
    {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
 | 
			
		||||
    <article class="article">
 | 
			
		||||
        <a href="{{ .RelPermalink }}" class="article">
 | 
			
		||||
            <div class="article">
 | 
			
		||||
                <img src="{{.Params.image }}" alt="" srcset="{{.Params.image }}" class="article">
 | 
			
		||||
            </div>
 | 
			
		||||
        </a>
 | 
			
		||||
    
 | 
			
		||||
        <div class="info article">
 | 
			
		||||
            <h3 class=" article title">
 | 
			
		||||
                <a href="{{ .RelPermalink }}" class="article title">{{ .Title }}</a>
 | 
			
		||||
            </h3>
 | 
			
		||||
            <div class="article metadata">
 | 
			
		||||
                <time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div class="article summary">
 | 
			
		||||
                <p>{{.Summary}}</p>
 | 
			
		||||
                <a href="{{ .RelPermalink }}" class="more article">
 | 
			
		||||
                    Read more »
 | 
			
		||||
                </a>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    </article>
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    {{ end }}
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{{ end }}
 | 
			
		||||
							
								
								
									
										26
									
								
								themes/fiscleconsult/layouts/_default/single.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								themes/fiscleconsult/layouts/_default/single.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
			
		||||
{{ define "main" }}
 | 
			
		||||
<h1>{{ .Title }}</h1>
 | 
			
		||||
<div class="single summary">
 | 
			
		||||
    {{.Summary}}
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
{{ partial "metadata.html" . }}
 | 
			
		||||
<br><br>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<div class="image single"><img src="{{.Params.image}}" alt=""></div>
 | 
			
		||||
<article class="single">
 | 
			
		||||
    <div>
 | 
			
		||||
        {{ .Content }}
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
</article>
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user