summaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-02 20:06:31 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-02 20:06:31 -0700
commit4b8e43f75b394a4e6169884fbfb4c606865c6a22 (patch)
tree48cae6b8e8f9b68cae29676d8a15cb3ddbfcccda /layouts/index.html
parentStop using Jekyll. (diff)
downloadlumberjaph-4b8e43f75b394a4e6169884fbfb4c606865c6a22.tar.gz
Import migration from Jekyll to Hugo.
All the posts were converted, and the layout is created. This looks like it works just fine.
Diffstat (limited to '')
-rw-r--r--layouts/index.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..38644fc
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+ <html lang="en-US">
+
+ <head>
+ {{ partial "header.html" . }}
+ </head>
+
+ <body>
+
+ <div id="container">
+
+ <p style="font-size: 36px; line-height:46px; font-weight: bold;">
+ Hi! My name is <a href="/about/">Franck Cuny</a> and this is my personal space, welcome!
+ </p>
+
+ <ul class="articles">
+ {{ range where .Data.Pages "Section" "post" }}
+ {{ .Render "title" }}
+ {{ end }}
+ </ul>
+
+ {{ partial "footer.html" . }}
+
+ </div>
+
+ </body>
+
+</html>