Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Chen-Zhe/photo-grid.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraerohub <aerohub@users.noreply.github.com>2016-08-17 20:02:51 +0300
committeraerohub <aerohub@users.noreply.github.com>2016-08-17 20:02:51 +0300
commit990df552565018bba985aae9e6bffb4a24e4d9ea (patch)
tree1e939d5f3f4682953ba75f884b86bb0053f75211 /layouts/index.html
Initial commit
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..99aa127
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
+ <head>
+ {{ partial "head.html" . }}
+ </head>
+ {{ template "_internal/google_analytics.html" . }}
+ <body>
+ <div class="container">
+ {{ partial "header.html" . }}
+ <div class="main">
+ <ul id="og-grid" class="og-grid">
+ {{ range $.Site.Data.items.items }}
+ <li>
+ <a href="{{.url}}" data-largesrc="{{.image}}" data-title="{{.title}}" data-description="{{.description }}">
+ <img src="{{.thumb}}" alt="{{.alt}}"/>
+ </a>
+ </li>
+ {{ end }}
+ </ul>
+ {{ partial "footer.html" . }}
+ </div>
+ </div>
+ {{ partial "scripts.html" . }}
+ </body>
+</html> \ No newline at end of file