shou2017.com
JP

Hugo, what to do if an article is not listed on the listing page

Tue Aug 1, 2017
Sat Aug 10, 2024

In a local environment, they may display fine, but when uploaded to the server, they may not be displayed.

The prerequisite is that the individual articles themselves must be displayed properly.

The cause is the time setting. It seems that the same time is displayed on the individual pages, but not on the list page.

So, it is ok to set each of the markdown date to a different time.

---Categories = [hugo], [hugo], [hugo].
Categories = [hugo].
Description = Hugo, what to do if an article is not listed on the list page
Tags = [hugo, rails basics]
date = 2017-08-01T20:15:30+09:00
menu = main
title = Hugo, what to do if an article is not listed on the listing page.
---

Create a contemporaneous one.

--- --- ``json
Categories = [“rails”].
Description = “rails basics”
Tags = [ “rails basics”]
date = 2017-08-01T20:15:30+09:00
menu = “main”
title = “rails basics”
---

This will not show up on the listing page, so change the time setting.

--- --- ``TOML
Categories = [rails].
Description = rails basics
Tags = [ rails basics].
date = 2017-08-01T20:40:30+09:00
menu = main
title = rails basics
---