Skip to content

AstroPaper v4 - #202

Merged
satnaing merged 11 commits into
mainfrom
astro-paper-v4
Jan 4, 2024
Merged

satnaing merged 11 commits into
mainfrom
astro-paper-v4

Conversation

@satnaing

Copy link
Copy Markdown
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

diomed commented Dec 30, 2023 •

Copy link
Copy Markdown
Contributor
  • my blue color scheme suggestion-

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

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

@diomed

diomed commented Dec 30, 2023

Copy link
Copy Markdown
Contributor

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

diomed commented Dec 30, 2023

Copy link
Copy Markdown
Contributor

could you please replace > with »
in breadcrumbs

@satnaing

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

diomed commented Dec 31, 2023

Copy link
Copy Markdown
Contributor

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

satnaing commented Jan 2, 2024

Copy link
Copy Markdown
Owner Author

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

satnaing commented Jan 2, 2024

Copy link
Copy Markdown
Owner Author

@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

diomed commented Jan 2, 2024

Copy link
Copy Markdown
Contributor

@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 and others added 5 commits January 4, 2024 15:39
* feat: adds post on git hook date setting

* fix: make necessary adjustments and fix typo

---------

Co-authored-by: Sat Naing <satnaingdev@gmail.com>
@satnaing
satnaing merged commit c356789 into main Jan 4, 2024
@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

eerison commented Jan 4, 2024

Copy link
Copy Markdown
Contributor

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