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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek <42170307+2-REC@users.noreply.github.com>2018-11-16 10:14:19 +0300
committerGitHub <noreply@github.com>2018-11-16 10:14:19 +0300
commitab67468565275cbc281271525cc25420e57c803d (patch)
tree4baee2ba5fb81d946711ba6da7385e8b0cd020bf
parent0266c006c7b25b0ec8eed2a2b37bbe50c5e48357 (diff)
Added "order" info.
-rw-r--r--exampleSite/config.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c5edade..9fbbf09 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -85,6 +85,21 @@ theme = "hugo-myportfolio-theme"
# (& must correspond to the section directories)
categories = [ "pro", "perso" ]
+ # Post orders:
+ # - list of posts:
+ # - default: date.
+ # - common to all, defined globally here.
+ # - can be overriden at page level (in "_index.md").
+ # - list of brothers:
+ # - default: from parent (if no parent => title).
+ # - list: parent.sections_order
+ # - single: parent.posts_order
+ # - list of sections:
+ # - default: title.
+ # - common to all, efined globally here.
+ # - can be overriden at page level
+ # - list: in "_index.md"
+ # - single: in "index.md" (or "post.md" if post is not a bundle)
# Required as default values.
sections_order = "title"
sections_order_reverse = false