How to get title of another post?

Hello everyone,

I started learning Jekyll earlier this week to publish my blog on Github pages. I want to link one of my posts from another post.

By reading the documentation, I have this so far:

Please see my other post here [Manually enter title of other post here]({% post_url post-url-of-other-post %})

Is there some way I could avoid the Manually enter title of other post here, and instead have Jekyll fetch that other post’s title automatically?

As mentioned earlier, I’m a beginner and not sure if this matters, but anyway, here are the versions I’m working with:

ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x86_64-linux]
bundle 2.4.8
jekyll 3.9.2
gem 3.3.26
liquid 4.0.3