diff options
author | Cangeloso <scangeloso@LT-63744.local> | 2018-06-06 00:34:40 +0300 |
---|---|---|
committer | Cangeloso <scangeloso@LT-63744.local> | 2018-06-06 00:34:40 +0300 |
commit | c1950ccf6c15759de127a0467f97c793b3c275d3 (patch) | |
tree | 88938cc0d57c85a39a9ab4289a1f95ec2cf3a5ba | |
parent | 04e5593ebe538978b554de0fee53c4a6d5762b17 (diff) |
built single template
not done yet
-rw-r--r-- | .DS_Store | bin | 6148 -> 8196 bytes | |||
-rw-r--r-- | layouts/_default/single.html | 71 |
2 files changed, 71 insertions, 0 deletions
Binary files differ diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..5c24be0 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,71 @@ +<!DOCTYPE html> +<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}"> +<head> +<meta charset="utf-8"> +{{ .Hugo.Generator }} +<meta name="viewport" content="width=device-width, initial-scale=1"> +<link href="//fonts.googleapis.com/css?family=Open+Sans:400,800" rel="stylesheet" type="text/css"> +<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/github.min.css"> +<link rel="stylesheet" href="/css/normalize.css"> +<link rel="stylesheet" href="/css/skeleton.css"> +<link rel="stylesheet" href="/css/custom.css"> +<title>{{ .Title }}</title> +</head> +<body> + +<section id="container"> + <header role="banner"> + <h1 id="title">{{ .Title }}</h1> + </header> + + <main role="main"> + <div> + <article id="content"> + {{ .Content }} + </article> + </div> +</section> +<aside id="meta"> + <div> + <section> + <span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }} | {{ .WordCount }} Words</time></span> + </section> + {{ with .Params.topics }} + <ul id="topics"> + {{ range . }} + <li><a href="{{ "topics" | absURL}}{{ . | urlize }}">{{ . }}</a> </li> + {{ end }} + </ul> + {{ end }} + {{ with .Params.tags }} + <ul id="tags"> + {{ range . }} + <li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li> + {{ end }} + </ul> + {{ end }} + </div> + <div> + {{ with .PrevInSection }} + <a class="previous" href="{{.Permalink}}"> {{.Title}}</a> + {{ end }} + {{ with .NextInSection }} + <a class="next" href="{{.Permalink}}"> {{.Title}}</a> + {{ end }} + </div> +</aside> +</main> + + + <footer role="contentinfo"> + <div class="hr"></div> + <div class="footer-link"> + <a href="mailto:test@test.com" target="_blank">Email</a> / <a href="https://salcangeloso.com">Site</a> + </div> + <div class="copyright">Copyright © 2018</div> + </footer> + +</div> + +</body> +</html> |