kongwy / typecho-theme-minima

An undoubtedly simple and lightweight dark/light theme for Typecho, ported from Hexo.
MIT License
1 stars 0 forks source link

feat: v2.0-1 checklist #2

Closed kongwy closed 1 year ago

kongwy commented 1 year ago

Typecho Manifest

Upstream Clearance

kongwy commented 1 year ago

header.php <- layout.ejs

9c3293cd0a2332d7ffb467eb12fec737c129b424

kongwy commented 1 year ago

partial/pagination.php <- partial/pagination.ejs

304d3820647dc300330f48939e5af9d3118fe55b

kongwy commented 1 year ago

index.php <- index.ejs

b39dc3991a159ad742527a32a65e6060bf0b1425

Typecho's archive is slightly different from Hexo, hence modifications are made:

kongwy commented 1 year ago

comments.php <- partial/comments.ejs

f4ad57c6b3b5619229dd86d09c770ff8b0211a6f

Hexo, as a static site generator, doesn't have native comment supports. Minima's original Hexo version uses Disqus as it's the most common comment-hosting service in the Hexo community. However, Typecho has built-in comment supports. For the current stage, we simply ported the Disqus code to Typecho.

kongwy commented 1 year ago

page.php, post.php <- page.ejs, post.ejs

9fd9efab8794e4a0dedbd8d8d85aafb4d0bcc52e

Simply ported to Typecho, some enhancements for Typecho might be needed in future.

kongwy commented 1 year ago

The basic port work has been completed.