This is the source code of the LiaScript website, which is based on the Hugo framework. The website is hosted on GitHub pages and can be found at https://liascript.github.io.
Install Hugo: https://gohugo.io/getting-started/installing/
Clone this repository:
git clone https://github.com/liaScript/liascript.github.comChange into the directory:
cd liascript.github.comRun the installation:
npm installRun the Hugo server:
npm run devWebServer is available at: http://localhost:1313
Build via
npm run build
New posts can be added by creating a new markdown file in the content/english/blog directory. The markdown file should have the following front matter:
---title: "Title of the Post"date: 2023-05-03draft: falseauthor: "Author Name"image: "/images/post/image.jpg"categories:
- Examplestags:
- LiaScript
- ...description: "Description of the post"---The content of the post can be written in markdown format below the front matter.
Images should be placed in the assets/images or assets/images/post directory.
The website is afterwards served from the docs directory, which is the default directory for GitHub pages.