Diary
Ok, let's make a blog (framework).
I should write php pages. It is more elegant than pure html.
I can import fragments of html and do this kind of shit.
I want to make a blog, hence I want to focus on writing articles.
I should not spend too much time on this framework, but most likely I will.
The Backend
Static NGINX server serving html pages, compiled server side with PHP.
The Frontend
Single page application
- header + navigation bar:
- side menu:
- footer:
- article pager:
Navbar
Side Menu
Footer
The Article Pager
Simple articles are mostly .md files compiled to .html
They are rendered by the server itself.
Latex blocks are rendered by the client with KaTex.
Project structure
/articles