diff options
author | Sal Cangeloso <salcan@gmail.com> | 2018-06-08 05:17:21 +0300 |
---|---|---|
committer | Sal Cangeloso <salcan@gmail.com> | 2018-06-08 05:17:21 +0300 |
commit | d6f7ff78a78a0cb3ad7795137a529439845d8186 (patch) | |
tree | 53b95e517f6379d1a9b4a837e58966d4e4f90825 | |
parent | e02d02fc2e8fa496865397b955021feb3eae0357 (diff) |
add list template
that was easy
-rw-r--r-- | layouts/_default/list.html | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..75424b2 --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,45 @@ +<!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>Put Meta Title</title> +</head> +<body> + +<div class="container"> + + <header role="banner"> + <h1>Put Website Title</h1> + </header> +<main role="main"> + + + + <h1>Tag: {{ .Title }}</h1> + {{ .Content }} + <ul class="list-pages"> + {{ range .Data.Pages }} + <li class="lh-copy"><a href="{{ .Permalink | relURL }}" class="link f5">{{ .Title }}</a> - <time>{{ .Date.Format "January 02, 2006" }}</time></li> + {{ end }} + </ul> +</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> |