aboutsummaryrefslogtreecommitdiff
path: root/html/main/index.tmpl.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/main/index.tmpl.html')
-rw-r--r--html/main/index.tmpl.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/html/main/index.tmpl.html b/html/main/index.tmpl.html
new file mode 100644
index 0000000..5c60a6c
--- /dev/null
+++ b/html/main/index.tmpl.html
@@ -0,0 +1,24 @@
+{{ define "title" }}Home{{end}}
+{{ define "description" }}Homepage{{end}}
+{{ define "keywords" }}home{{end}}
+
+{{ define "main" }}
+ <h1 style="animation: 1s ease-out 0s 1 fadeIn">alexscerba.com</h1>
+ <div class="frontpage-subtitle" style="animation: 1s ease-out 0s 1 fadeIn">
+ <p>My place to:</p>
+ <p><strong>showcase design projects.<br>post life updates.<br>bulid web-development skills.</strong></p>
+ </div>
+ <section class="bottom">
+ <h2>Latest Design Projects</h2>
+ <div class="posts">
+{{ range .Contents }}
+ <figure class="thumbnail">
+ <a href="/projects/{{ .FileName }}">
+ {{ .Image }}
+ <figcaption>{{ .Title }}</figcaption>
+ </a>
+ </figure>
+{{ end }}
+ </div>
+ </section>
+{{ end }} \ No newline at end of file