Commit b7e570f9 authored by key-amb's avatar key-amb
Browse files

Show content of '_index' page on top page

parent 7da5a100
......@@ -14,7 +14,7 @@ You can see Demo and documents of **Bootie Docs** at http://key-amb.github.io/bo
**Bootie Docs** includes following libraries:
* [Bootstrap](http://getbootstrap.com/) v3.3.4 ... Wwell-known CSS framework.
* [Bootstrap](http://getbootstrap.com/) v3.3.4 ... Well-known CSS framework.
* [jQuery](https://jquery.com/) v1.11.2 ... Requried by _Bootstrap_.
## LICENSE
......
......@@ -11,27 +11,11 @@
</div>
</div>
{{ if isset .Site.Params "withTopContent" }}{{ partial "top-content.html" . }}{{ end }}
<!--
<div class="row">
<div class="col-sm-4 doc-main">
<h3>Categories</h3>
<ul class="list-unstyled">
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
<li><a href="/categories/{{ $name | urlize }}">{{ $name }}</a></li>
{{ end }}
</ul>
{{ range where .Site.Pages "Title" "_index" }}
<div class="row doc-main">
{{ .Content }}
</div>
<div class="col-sm-4 doc-main">
<h3>Tags</h3>
<ul class="list-unstyled">
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<li><a href="/categories/{{ $name | urlize }}">{{ $name }}</a></li>
{{ end }}
</ul>
</div>
</div> <!-- /.row -->
{{ end }}
{{ if isset .Site.Params "withSitePosts" }}
<hr />
......
<div class = "row doc-top-content">
<h2>{{ if isset .Site.Params "topContentTitle" }}{{ .Site.Params.topContentTitle }}{{ else }}Params.topContentTitle{{ end }}</h2>
<p>{{ if isset .Site.Params "topContentText" }}{{ .Site.Params.topContentText }}{{ else }}You can customize this text by by params "topContentText" in your "config.toml".
Or if you want to customize the layout of this paragraph, place your "top-content.html" under "layouts/partials/" directory.{{ end }}</p>
</div>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment