summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/index.html3
-rw-r--r--layouts/partials/homepage/nameplate.html5
-rw-r--r--layouts/shortcodes/toc.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index c9c3aae..a6c481a 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -36,9 +36,6 @@ Hey! I'm Michał Sapka, a computer programmer living in Kraków, Poland. This we
<p><a class="sec-link" href="/git/"><b>Version control system</b> : My little code repository. I don't expect to cooporate on any of those, so it's just stagit.</a></p>
</nav>
-<h2>TOC</h2>
-You can also use <a href="/toc">Table of Contents</a>.
-
{{ partial "partials/homepage/buttons.html" . }}
{{ partial "partials/homepage/nameplate.html" . }}
diff --git a/layouts/partials/homepage/nameplate.html b/layouts/partials/homepage/nameplate.html
index 946b004..4e89f8a 100644
--- a/layouts/partials/homepage/nameplate.html
+++ b/layouts/partials/homepage/nameplate.html
@@ -45,5 +45,8 @@
</tr>
</table>
</div>
- <a href="/stats">Statistics</a>
+ <br>
+ <a href="/stats">Statistics</a> |
+ <a href="/toc">Blog-style view</a>
+
</section>
diff --git a/layouts/shortcodes/toc.html b/layouts/shortcodes/toc.html
index 8dfb2b5..ddf8ece 100644
--- a/layouts/shortcodes/toc.html
+++ b/layouts/shortcodes/toc.html
@@ -1,3 +1,3 @@
-{{ range (where site.RegularPages "Type" "!=" "special") }}
+{{ range site.RegularPages.ByDate.Reverse }}
{{ partial "partials/article_list_item.html" . }}
{{ end }}