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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html16
1 files changed, 2 insertions, 14 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 0598df7..c44ebf9 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -6,20 +6,8 @@
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
<article>
- <header>
- <h1 class="entry-title">
- <a href="{{ .Permalink }}">{{ .Title }}</a>
- </h1>
- <p class="meta">{{ .Date.Format "Jan 2, 2006" }} - {{ .ReadingTime }} minute read - {{ if .Site.Params.disqusShortname }} <a href="{{ .Permalink }}#disqus_thread">Comments</a>{{ end }}
- {{ if isset .Params "categories" }}
- <!-- <br/> this will make the categories go to the second line and mess with the title -->
- <!-- in order to make category URLs work, we need to urlize them and then convert them to lowercase
- e.g. .NET Remoting -urlize-> .NET-Remoting -lowercase-> .net-remoting -->
- {{ range .Params.categories }}<a class="label" href="{{ "/categories/" | absURL }}{{ . | urlize | lower }}/">{{ . }}</a>{{ end }}
- {{ end }}</p>
-
- </header>
+ {{ partial "post_header.html" . }}
{{ if eq .Site.Params.truncate false }}
{{ .Content }}
@@ -50,4 +38,4 @@
</div>
</div>
-{{ partial "footer.html" . }} <!-- footer --> \ No newline at end of file
+{{ partial "footer.html" . }} <!-- footer -->