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

github.com/tummychow/lanyon-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Jung <tummychow511@gmail.com>2018-04-14 08:30:56 +0300
committerGitHub <noreply@github.com>2018-04-14 08:30:56 +0300
commit8f5fca78a3c94690bd808053a1aaf69cf4dc168c (patch)
tree08d837671c67cc2176efbcc58d307b5a909f9af9
parente3886f52e12b76f37e87d5075b7c1ada925d5423 (diff)
parent8a598965a98290a1ac27811e13d2b3a1067813a2 (diff)
Merge pull request #22 from bhavin192/taxonomy-fix
Rename li.html to list.html
-rw-r--r--layouts/_default/li.html1
-rw-r--r--layouts/_default/list.html14
-rw-r--r--layouts/post/post.html12
3 files changed, 14 insertions, 13 deletions
diff --git a/layouts/_default/li.html b/layouts/_default/li.html
deleted file mode 100644
index 2003dea..0000000
--- a/layouts/_default/li.html
+++ /dev/null
@@ -1 +0,0 @@
-<li>{{ .Site.Params.DateForm | default "Jan 2, 2006" | .Date.Format }} - <a href="{{ .Permalink }}">{{ .Title }}</a></li>
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..ece5574
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,14 @@
+{{ partial "default_head.html" . }}
+
+<div class="post">
+ <h1 class="post-title">{{ .Title }}</h1>
+ <ul id="list">
+ {{ range .Data.Pages }}
+ <li>{{ .Site.Params.DateForm | default "Jan 2, 2006" | .Date.Format }} -
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
+</div>
+
+{{ partial "default_foot.html" . }}
diff --git a/layouts/post/post.html b/layouts/post/post.html
deleted file mode 100644
index c663721..0000000
--- a/layouts/post/post.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{ partial "default_head.html" . }}
-
-<div class="post">
- <h1 class="post-title">{{ .Title }}</h1>
- <ul id="list">
- {{ range .Data.Pages }}
- {{ .Render "li"}}
- {{ end }}
- </ul>
-</div>
-
-{{ partial "default_foot.html" . }}