diff --git a/hugo.toml b/hugo.toml index db6807c..a24d77b 100644 --- a/hugo.toml +++ b/hugo.toml @@ -14,11 +14,11 @@ theme = 'farallon' [[languages.zh-cn.menu.main]] name="影音" url="/movies/" - weight="4" + weight="5" [[languages.zh-cn.menu.main]] name="分类" url="/categories/" - weight="2" + weight="4" [[languages.zh-cn.menu.main]] name="标签" url="/tags/" @@ -26,8 +26,11 @@ theme = 'farallon' [[languages.zh-cn.menu.main]] name="文章" url="/archives/" + weight="2" + [[languages.zh-cn.menu.main]] + name="首页" + url="/" weight="1" - [taxonomies] category = 'categories' tag = 'tags' diff --git a/themes/farallon/layouts/index.html b/themes/farallon/layouts/index.html index 26c9f36..52a1844 100644 --- a/themes/farallon/layouts/index.html +++ b/themes/farallon/layouts/index.html @@ -3,6 +3,401 @@ {{ if $.Site.Params.showprofile }} {{ partial "profile.html" . }} {{ end }} +
+
+ + +
+ + +
{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} {{ $paginator := .Paginate ($pages) }}