Create Hugo Post With NPM Script

Prerequisite Basic knowledge: NPM, Hugo, JavaScript, shell script Pre-installed: VS Code, NPM CLI, Hugo CLI Intro Create a post using hugo CLI is a tedious work for me. Because I always create a post using archetype and placing it in nested folder. For example, when creating this post, I should type the command below in the terminal: hugo new --kind develop posts/_developer/create-hugo-post-with-npm-script The problem here is, I always forget how many kind of archetypes I already have, and what my folder structure looks like right now....

Mar 11, 2024 Published · Oct 3, 2024 Updated · 3 min · Inori Inuyama

[Hugo] Deploy Hugo To Vercel With GitHub Actions

Basic knowledge: Hugo、shell、npm、git Preface I deployed my blog on GitHub Page formerly, a platform for static site providing by GitHub. But GitHub Page has some limitation when we are using free account, like we should keep our repository public. However, I want to set my blog repository as private. Since I have some draft post on it. Another reason is I do not want to expose all my blog content to public like an open source....

Jan 3, 2023 Published · Oct 3, 2024 Updated · 6 min · Inori Inuyama