Skip to content

LobbyBoy-Dray/LobbyBoy-Dray.github.io

Repository files navigation

🧑‍💻 Personal Website

This is Jingwei Gao's personal website:

💡 To-Do List

  • Sidebar for TOB.
  • More elegant table layout.

🆕 New Features

  • Add support for math:
    • Install [email protected], a plugin to support a math syntax in markdown
      • ⚠️ the latest version will raise an exception.
    • Install rehype-katex, a plugin to render math in HTML with KaTeX.
    • Modify astro.config.ts and src/layouts/Layout.astro.
  • [2023.12.22] Add support for nested posts: demo
    • A new item called "hidden" was added to the front matter and set as "true" for inner posts. Hence, these inner posts will not be visible directly and can only be accessed through the link in outer posts.
  • [2023.12.25] Add a comment system powered by giscus
    • It is not easy to achieve perfect compatibility with the mode switch (light/dark).

🐛 Fixed Bugs

  • 🐛 Equations in dark mode are now readable: /_ KaTex _/

📝 Memo

  • All featured posts are displayed together on the index page.
  • src/config.tsrecentPostSlot: #displayed recent posts.
  • How to restore the About page:
    • Remove the comments regarding "about" in src/components/Header.astro.
    • Add file src/pages/about.md and src/layouts/AboutLayout.astro.
  • Displayed equation: $$a+b=c$$ doesn't work! Try $$[Enter]a+b=c[Enter]$$ instead!