Logo Logo

Website Relaunch With Hugo

Some intro text why I have recreated my website with hugo.

Good resource

Blog series:


Faced Issues

Don’t overflow the code snippets

Problem: By default if the code in the snippet is longer than the page width, the website is wider than before. Thus one can scroll from left to right on mobile devices.

Solution: All code tags are using the pre html tag for preformatted content here

pre {
    overflow-x: auto

Don’t list regular pages on the list of posts

Problem: about me page is on post list


{{ range where .Site.RegularPages "Type" "ne" "page" }}