stuff
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
			
		||||
{{ range.Pages }}
 | 
			
		||||
 | 
			
		||||
<li>
 | 
			
		||||
    <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 2" }}</time> –
 | 
			
		||||
    <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> –
 | 
			
		||||
    <a href="{{ .RelPermalink }}">{{ .Title }}</a>
 | 
			
		||||
</li>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								layouts/_default/tag.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								layouts/_default/tag.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
{{ partial "header.html" . }}
 | 
			
		||||
 | 
			
		||||
<header><h1>{{ .Title | title }}</h1></header>
 | 
			
		||||
 | 
			
		||||
{{ .Content }}
 | 
			
		||||
<ul class=tagartlist>
 | 
			
		||||
{{ range.Pages }}<li><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
 | 
			
		||||
{{ end }}</ul>
 | 
			
		||||
 | 
			
		||||
{{ partial "footer.html" . }}
 | 
			
		||||
@@ -1,7 +0,0 @@
 | 
			
		||||
{{ partial "header.html" . }}
 | 
			
		||||
 | 
			
		||||
<header><h1>{{ .Title }}</h1></header>
 | 
			
		||||
 | 
			
		||||
{{ .Content }}
 | 
			
		||||
 | 
			
		||||
{{ partial "footer.html" . }}
 | 
			
		||||
@@ -1,9 +1,7 @@
 | 
			
		||||
{{ partial "header.html" . }}
 | 
			
		||||
 | 
			
		||||
<header><h1>{{ .Site.Title }}</h1></header>
 | 
			
		||||
<header><h1>{{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }}</h1></header>
 | 
			
		||||
 | 
			
		||||
{{ .Content }}
 | 
			
		||||
 | 
			
		||||
{{ partial "tagcloud.html" . }}
 | 
			
		||||
 | 
			
		||||
{{ partial "footer.html" . }}
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@
 | 
			
		||||
            See related:</br>
 | 
			
		||||
                {{ range $k, $v := .Params.tags }}
 | 
			
		||||
                {{ $url := printf "tags/%s" (. | urlize | lower) }}
 | 
			
		||||
                <a href="{{ $url | absURL }}">{{ . }}</a>
 | 
			
		||||
                <a href="{{ $url | absURL }}">{{ . | title }}</a>
 | 
			
		||||
                {{ if lt $k (sub $tagsLen 1) }}·{{ end }}
 | 
			
		||||
                {{ end }}
 | 
			
		||||
            </div>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="{{ .Site.Language }}">
 | 
			
		||||
    <head>
 | 
			
		||||
	    <title>{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
 | 
			
		||||
	    <title>{{ if not .IsHome }}{{ .Title | title }} | {{ end }}{{ .Site.Title }}</title>
 | 
			
		||||
        <meta charset="utf-8"/>
 | 
			
		||||
        <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
 | 
			
		||||
        <link rel='stylesheet' type='text/css' href='/style.css'>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
<nav>
 | 
			
		||||
    <ul>
 | 
			
		||||
        {{ range.Site.Menus.main }}
 | 
			
		||||
        <a href="{{ .URL }}"><li>{{ .Pre }}{{ .Name }}</li></a>
 | 
			
		||||
    <ul>{{ $sec := .Page.Section }}{{ $file := .File.TranslationBaseName }}
 | 
			
		||||
        {{ range.Site.Menus.main }}{{ $base := path.Base .URL }}
 | 
			
		||||
        <a {{ if or ( eq $sec $base ) ( eq $file $base ) ( and (eq $sec "") ( eq $file "_index") (eq $base "/") ) }}class="menuactive" {{ end }}href="{{ .URL }}"><li><span class=pre>{{ .Pre }}</span><span class=menuname>{{ .Name }}</span></li></a>
 | 
			
		||||
        {{ end }}
 | 
			
		||||
    </ul>
 | 
			
		||||
</nav>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +0,0 @@
 | 
			
		||||
{{ if isset .Site.Taxonomies "tags" }}
 | 
			
		||||
{{ if not (eq (len .Site.Taxonomies.tags) 0) }}
 | 
			
		||||
    <div class="tagcloud">
 | 
			
		||||
        {{ range $name, $items := .Site.Taxonomies.tags }}
 | 
			
		||||
        {{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}
 | 
			
		||||
        <a href="{{ $url | absURL }}">{{ $name }}</a>
 | 
			
		||||
        {{ end }}
 | 
			
		||||
    </div>
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
@@ -4,6 +4,7 @@
 | 
			
		||||
        loading="lazy"
 | 
			
		||||
        sandbox="allow-same-origin allow-scripts allow-popups"
 | 
			
		||||
        allowfullscreen frameborder="0"
 | 
			
		||||
        class="embvid"
 | 
			
		||||
        title="Embedded Video">
 | 
			
		||||
</iframe>
 | 
			
		||||
</details>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										18
									
								
								layouts/shortcodes/img.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								layouts/shortcodes/img.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
<!-- image -->
 | 
			
		||||
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
 | 
			
		||||
    {{ with .Get "link"}}<a href="{{.}}">{{ end }}
 | 
			
		||||
        <img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }}{{ with .Get "mouse"}}title="{{.}}"{{end}}/>
 | 
			
		||||
    {{ if .Get "link"}}</a>{{ end }}
 | 
			
		||||
    {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
 | 
			
		||||
    <figcaption>{{ if isset .Params "title" }}
 | 
			
		||||
        <h4>{{ .Get "title" }}</h4>{{ end }}
 | 
			
		||||
        {{ if or (.Get "caption") (.Get "attr")}}<p>
 | 
			
		||||
        {{ .Get "caption" }}
 | 
			
		||||
        {{ with .Get "attrlink"}}<a href="{{.}}">{{ end }}
 | 
			
		||||
            {{ .Get "attr" }}
 | 
			
		||||
        {{ if .Get "attrlink"}}</a>{{ end }}
 | 
			
		||||
        </p>{{ end }}
 | 
			
		||||
    </figcaption>
 | 
			
		||||
    {{ end }}
 | 
			
		||||
</figure>
 | 
			
		||||
<!-- image -->
 | 
			
		||||
							
								
								
									
										3
									
								
								layouts/shortcodes/tagcloud.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								layouts/shortcodes/tagcloud.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }}   <div id="tagcloud">
 | 
			
		||||
    {{ range $name, $items := .Site.Taxonomies.tags }}{{ $url := printf "%s/%s" "tags" ($name | urlize | lower)}}<a href="{{ $url | absURL }}" id="tag_{{ $name }}">{{ $name | title }}</a>
 | 
			
		||||
    {{ end }}</div>{{ end }}{{ end }}
 | 
			
		||||
@@ -4,6 +4,14 @@ body {
 | 
			
		||||
	color: #ddd ;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.lw, p img, li img, h1 img, h2 img, h3 img, h4 img, dt img, td img {
 | 
			
		||||
	max-height: 1em;
 | 
			
		||||
	max-width: 1em;
 | 
			
		||||
	vertical-align: middle ;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
img { max-width: 100% ; }
 | 
			
		||||
 | 
			
		||||
main {
 | 
			
		||||
	max-width: 800px ;
 | 
			
		||||
	margin: auto ;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user