Website Design¶
Updated: May 07, 2024
Choosing Markup Language¶
From my experience contributing to ILUGC website [1], I come know that Hugo [2] uses Markdown
which is the most popular modern markup language in internet right now. I don’t know why but I was hesitant to go with Markdown
, I searched what are the options we have. So, here are some ways to generate static html pages,
I’m not going to compare them, because I don’t know the benefits/drawbacks of each and everyone. So, I’m just giving what I felt when I tried few.
Markdown
Popular format used in everywhere. Very simple to write, literally every static site generator support
Markdown
. But cross referencing is pain, syntex highlighting is lacking compared to other systems, adding caption to an image is not available and there are few more drawbacks people say in internet [6].
reStructuredText
Not as popular as
Markdown
and not as easy asMarkdown
. but we can pickup easily. One of the amazing thing is to add codes and do syntex highlighting. I use lot of syntex highlighting in my blog articles. So, when I triedreStructuredText
I immediately fell in love for this one amazing functionality. No wonder whyreStructuredText
is used by python [7], kernel [8] organizations for documentation.
Once I became comfortable with reStructuredText , I decided to go with Sphinx [9] with its default Alabaster [10] theme
RSS Feed¶
For a blog, having a RSS [11] feed is very important so that people who are interested in our blog will be able to get updates. Thankfully, Sphinx
already have extension to generate an RSS
feed file called yasfb [12],
so I simply used yasfb and integrated the output into by sidebar.
Comment System¶
Comments and replies are important part of a Blog. But, to write a comment in a blog post, we need to have a server to accept that comment and tag that comment with the blog post. This is impossible in a statically generated website. So, people who use static blogs choose few methods I will explain now
No comment system
Comment System as Service
Self Hosted Comment System
GitHub/GitLab issues as Comment System
As I’m planning to use GitLab to host my static website. I selected Vssue as my comment system
To be continued..