Hacker News .hnnew | past | comments | ask | show | jobs | submit | msgi's commentslogin

> - My self-hosted blog built with NextJs. https://pankajtanwar.in/blogs

Looking good! Do you use any CMS to write articles? Or a code editor? (like VS Code) Any articles I can refer to?


---

Extra background information

I used to use WordPress and I liked its non-technical friendliness. I used to use the export function to back up my blog (I did not know how to back up databases at the time), but one day my database was unfortunately damaged, and the import function could not import correctly, all my pictures and videos are lost. After that, I turned to static site generators. After trying hexo, pelican, hugo, I was amazed at the generation speed of hugo and the ease of "installation" (only one binary file), so I chose hugo. After using hugo for a year and a half. I started to feel bad. In the beginning I was a SSG noob, so I used the basic theme, which lacked a lot of things, such as meta description, featured images and other seo and user experience optimization, and later I changed the theme a few times, but due to the different features of different themes, I had to manually change the headers of each .md article to fit the theme(they work without changes, but please forgive me, I just hope the .md article will work with the new features of the theme).

Finally I found the Academic theme (now called Wowchemy) and it looks like an ultimate theme for me, I've been using it for a few months, but accessing the CDN the theme uses (previously Cloudflare's cdnjs later jsDelivr) from my region is slow and sometimes even inaccessible, although I could self-host CSS and JavaScript, I realized that it was time to stop, so I gave up and switched to writing notes on OneNote.

Recently, I wanted to start blogging again. I re-examined WordPress and SSG based on my earlier experience. I found that there is a relatively complete plugin called WP2Static, which can convert a website into a static website (like generated by SSG), but the latest version(7.1.7) has a problem with handling sitemaps, I found on GitHub that the problem has been fixed, but not merged from the dev branch into the stable release, my own attempt to compile the dev branch failed, and I found the exported content is missing, so I did not adopt this solution. I also learned that SSG seems to have evolved a concept called Jamstack. According to my own understanding, it seems to be a combination of dynamic and static. It separates the front and back ends and can be freely combined?

---


How ironic.

When I was canceling my paypal account a few years ago, paypal prompted me: It's free to have a paypal account, so if you don't want to use it, just leave it.

It's hard for me to imagine when someone opens his old PayPal account and finds out that he was charged 10 €. (not even in US dollars)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: