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 global config.yml for user settings and improve SEO. #19

Merged
merged 6 commits into from
Oct 20, 2024

Conversation

ZL-Asica
Copy link
Owner

  • Add yaml package to parse config.yml.

    • Introduce getConfig as a global utility to access config values.
    • Replace hardcoded values across multiple files with config.yml settings.
    • Fix issue Add error handling for missing or malformed markdown files #10 : Default thumbnail now uses the background image from config.
    • Enable custom JavaScript in and before as defined in config.yml.
    • Allow users to define their own comment system with a reserved slot in config.yml.
  • Improve SEO: Add custom titles to post pages and update the site-wide layout.

    • Use roobots.ts to generate robots.txt instead of hardcoded.
  • Replace Google Font import with nextjs built in.

  • Extend the footer with more social media links and optimize for mobile view.

- Add yaml package to parse config.yml.
- Introduce getConfig as a global utility to access config values.
- Replace hardcoded values across multiple files with config.yml settings.
- Fix issue #10: Default thumbnail now uses the background image from config.
- Extend footer with more social media links and optimize for mobile view.
- Improve SEO: Add custom titles to post pages and update site-wide layout.
- Enable custom JavaScript in <head> and before </body> as defined in config.yml.
- Allow users to define their own comment system with a reserved slot in config.yml.
@ZL-Asica ZL-Asica linked an issue Oct 20, 2024 that may be closed by this pull request
Copy link

vercel bot commented Oct 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
suzu-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 20, 2024 3:32am

@ZL-Asica ZL-Asica added the enhancement New feature or request label Oct 20, 2024
- Merge frontmatter process logic into 1 single function.
- Add logic avoid parsing not md files.
@ZL-Asica ZL-Asica merged commit 432b3fa into main Oct 20, 2024
3 checks passed
@ZL-Asica ZL-Asica deleted the 8-configure-basic-site-settings branch October 20, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure basic site settings
1 participant