Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

コンテンツ間のnext, prevリンクの設定 #8

Open
ytsuji3333 opened this issue Jun 10, 2020 · 3 comments
Open

コンテンツ間のnext, prevリンクの設定 #8

ytsuji3333 opened this issue Jun 10, 2020 · 3 comments
Labels
_website Works for website

Comments

@ytsuji3333
Copy link
Contributor

ステップのページに以下のリンク情報があるとうれしい
・次のステップがあるならば、次のリンク
・親もしくは前のステップのリンク

@takasehideki
Copy link
Member

docs/ 以下でも導入したいので,良い方法が導入できたら教えてください〜

@mitsut
Copy link
Member

mitsut commented Jun 11, 2020

pagenation機能が使えるかもしれません。(ただし、いまのmdは書き換える必要があるかもなので、メモとしてリンクを残しておきます)
https://gohugo.io/templates/pagination/
https://maku77.github.io/hugo/pager/basic.html

結局ここのサイトの情報が一番ヒットする
https://maku77.github.io/hugo/template/prev-next-link.html

@takasehideki takasehideki added the _website Works for website label Jun 12, 2020
@mitsut
Copy link
Member

mitsut commented Jul 4, 2020

コンテンツのデフォルトのオーダに関する記述
https://gohugo.io/templates/lists/#default-weight--date--linktitle--filepath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_website Works for website
Projects
None yet
Development

No branches or pull requests

3 participants