summaryrefslogtreecommitdiff
path: root/layouts/_default
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/_default
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 'layouts/_default')
-rw-r--r--layouts/_default/single.html17
-rw-r--r--layouts/_default/title.html4
2 files changed, 21 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..f4d3437
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,17 @@
+{{ partial "base.html" . }}
+
+<div id="container">
+
+ <div>fcuny: <a href="/">home</a></div>
+
+ <header>
+ <h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
+ </header>
+
+ <section>
+ <div id="entry"> {{ .Content }} </div>
+ </section>
+
+
+ {{ partial "base_footer.html" . }}
+
diff --git a/layouts/_default/title.html b/layouts/_default/title.html
new file mode 100644
index 0000000..aeab6c8
--- /dev/null
+++ b/layouts/_default/title.html
@@ -0,0 +1,4 @@
+<li class="article">
+ <div class="article-date">{{ dateFormat "2006.01.02" .Date }}</div>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+</li>