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

github.com/syui/hugo-theme-air.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyui <syui@syui.cf>2020-05-24 13:43:28 +0300
committersyui <syui@syui.cf>2020-05-24 13:43:28 +0300
commitaa0e3465ec96a7f3eec7c3a4286c675a1dd5f698 (patch)
tree4728cb36d06856b83f03368dcc9510548abe7566
parentab3d79f48314cc0ea2524e751a356a51c0d69615 (diff)
fix readme
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index ab57bc3..eb76268 100644
--- a/README.md
+++ b/README.md
@@ -175,6 +175,22 @@ BaseUrl= "https://localhost/"
logo = "images/user.png"
```
+## content title sort
+
+rewrite `layout/index.html`
+
+```html
+{{ range $index, $page := $paginator.Pages }}
+ {{ .Render "li" }}
+{{ end }}
+```
+
+```html
+{{ range .Site.RegularPages.ByTitle }}
+ {{ .Render "li"}}
+{{ end }}
+```
+
# Contact me
:beetle: open an issue in github