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

feat: add date for page lists #5

Closed
kranurag78 opened this issue Mar 13, 2023 · 1 comment · Fixed by #6
Closed

feat: add date for page lists #5

kranurag78 opened this issue Mar 13, 2023 · 1 comment · Fixed by #6

Comments

@kranurag78
Copy link
Contributor

Hey Sid,
Thanks for the minimal theme.
Can we also have dates on the page list.
As of now we only list the title on the /posts

<article class="post-item">
<h3 class="post-item-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h3>
</article>

Internally I'm adding this this right next to {{ .Title }}

<p class="post-item-meta">{{ .Date.Format "January 2, 2006" }}</p>

Let me know your thoughts on this. If you're okay with this, I can push the changes.

@hugo-sid
Copy link
Owner

hugo-sid commented Mar 13, 2023

Hi @kranurag78 .

Thanks for the minimal theme.

You are welcome. Thanks for using this theme.

Can we also have dates on the page list.

I think that's a great idea.

If you're okay with this, I can push the changes.

Feel free to submit a PR, I will be glad to merge it.

Don't forget to ⭐️ the repo if you liked this theme!

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

Successfully merging a pull request may close this issue.

2 participants