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

AstroPaper v4 #202

Merged
merged 11 commits into from
Jan 4, 2024
Merged

AstroPaper v4 #202

merged 11 commits into from
Jan 4, 2024

Conversation

satnaing
Copy link
Owner

Major Changes

  • upgrade Astro to v4
  • replace postSlug with Astro content slug

Features

  • dynamically generate robots.txt
  • add docker-compose file
  • implement back-to-top button in blog post page
  • add modified datetime in blog posts
  • add pagination in tag posts

Refactoring & Bug Fixes

  • anchor oveflow on small screen size
  • implement 100svh for min-height on body instead of 100vh
  • update site URL to be single source of truth
  • solve invisible text code block issue in light-mode
  • decode unicode tag chars in breadcrumb
  • update LOCALE config to cover overall locales
  • replace slugified title with unslugified tag name

Bump astro v3.6.4 to v4.0.9 (major upgrade). Bump astrojs/rss v3.0.0 to 4.0.1 (major upgrade). Upgrade other astro related packages.

BREAKING CHANGE: Astro v4 upgrade

Closes: #187
@diomed
Copy link
Contributor

diomed commented Dec 30, 2023

  • my blue color scheme suggestion-

--color-fill: 0, 1, 35;

--color-accent: 97, 123, 255;

@diomed
Copy link
Contributor

diomed commented Dec 30, 2023

could you take over back to top from this app:

https://www.ub.cafe/posts/post-title-29

here's the repo:
https://github.com/timtbdev/Next.js-Blog-App

@diomed
Copy link
Contributor

diomed commented Dec 30, 2023

could you please replace > with »
in breadcrumbs

@satnaing
Copy link
Owner Author

  • my blue color scheme suggestion-

--color-fill: 0, 1, 35;

--color-accent: 97, 123, 255;

Looks nice!
How about the border color? @diomed

@satnaing
Copy link
Owner Author

could you take over back to top from this app:

https://www.ub.cafe/posts/post-title-29

here's the repo: https://github.com/timtbdev/Next.js-Blog-App

I'll consider it in the next release.
But won't include that in this version.

@satnaing
Copy link
Owner Author

could you please replace > with » in breadcrumbs

Referring to this issue #155 ?
I don't think there's a significant benefit for doing so. But you can do it in your project if you wish.
All you have to do is replace > with your desired character.

@diomed
Copy link
Contributor

diomed commented Dec 31, 2023

could you please replace > with » in breadcrumbs

Referring to this issue #155 ? I don't think there's a significant benefit for doing so. But you can do it in your project if you wish. All you have to do is replace > with your desired character.

yes. referring to that. as you see I have issue with it:

I've tried and managed to turn > into raquo but only in between, and not one in the end.


could you take over back to top from this app:
https://www.ub.cafe/posts/post-title-29
here's the repo: https://github.com/timtbdev/Next.js-Blog-App

I'll consider it in the next release. But won't include that in this version.

but isn't it better to fill up v4 with brand new useful things now?

@satnaing
Copy link
Owner Author

satnaing commented Jan 2, 2024

but isn't it better to fill up v4 with brand new useful things now?

no worries, there will be v4.1, v4.2 and so on. 😃
I didn't mean next major version.

@satnaing
Copy link
Owner Author

satnaing commented Jan 2, 2024

@diomed
Hey, do you want to make a PR for this?

--color-fill: 0, 1, 35;
--color-accent: 97, 123, 255;

Or do I have to add it myself?

@diomed
Copy link
Contributor

diomed commented Jan 2, 2024

@diomed Hey, do you want to make a PR for this?

--color-fill: 0, 1, 35;
--color-accent: 97, 123, 255;

Or do I have to add it myself?

I sent it to you so you could add it, so I dont mess something up.
Thanks in advance.

SSmale and others added 2 commits January 3, 2024 16:27
* Create astro-paper.code-snippets

* feat: allow nullable modDatetime

this is needed to allow the snippet to work with a blank date time, and is a precursor of adding in a modified date time setting hook

* Update astro-paper.code-snippets to make feat false by default
Fix typo. Update await files in getSortedPosts.

Closes: #205
@satnaing satnaing merged commit c356789 into main Jan 4, 2024
2 checks passed
@satnaing satnaing deleted the astro-paper-v4 branch January 4, 2024 09:23
@satnaing satnaing restored the astro-paper-v4 branch January 4, 2024 09:25
@eerison
Copy link
Contributor

eerison commented Jan 4, 2024

Thank you @satnaing for your effort ❤️

@satnaing satnaing deleted the astro-paper-v4 branch January 5, 2024 02:49
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 this pull request may close these issues.

4 participants