img and icon options
This commit is contained in:
		@@ -1,8 +1,8 @@
 | 
				
			|||||||
{{ partial "header.html" . }}
 | 
					{{ partial "header.html" . }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<header><h1>{{ .Title }}</h1></header>
 | 
					<header><h1>{{ with .Params.icon }}<img src="/pix/{{ . }}" class=titleimg>{{ end }}{{ .Title }}</h1></header>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<article>
 | 
					<article>{{ with .Params.img }}<img src="/pix/{{ . }}" class=titleimg>{{ end }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{{ .Content }}
 | 
					{{ .Content }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
            {{ $tagsLen := len .Params.tags }}
 | 
					            {{ $tagsLen := len .Params.tags }}
 | 
				
			||||||
            {{ if gt $tagsLen 0 }}
 | 
					            {{ if gt $tagsLen 0 }}
 | 
				
			||||||
        <div class=taglist>
 | 
					        <div class=taglist>
 | 
				
			||||||
            See related:</br>
 | 
					            See related:<br>
 | 
				
			||||||
                {{ range $k, $v := .Params.tags }}
 | 
					                {{ range $k, $v := .Params.tags }}
 | 
				
			||||||
                {{ $url := printf "tags/%s" (. | urlize | lower) }}
 | 
					                {{ $url := printf "tags/%s" (. | urlize | lower) }}
 | 
				
			||||||
                <a href="{{ $url | absURL }}">{{ . | title }}</a>
 | 
					                <a href="{{ $url | absURL }}">{{ . | title }}</a>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user