-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
Image in content: | ||
# How to make a new blog post | ||
|
||
Put the md file in `content/en/blog`. For an idea on the format, please look at the other blog posts in `content/en/blog`. | ||
|
||
Any images should go in `assets/images`. | ||
|
||
So if your blog post has an image called `dog.jpg`, put it in `assets/images/dog.jpg` and in your Markdown you can include the image like this: | ||
|
||
``` | ||
{{< image src="images/image.png" alt="Lorem" title="Lorem" >}} | ||
{{< image src="images/dog.jpg" alt="dog" title="dog" >}} | ||
``` | ||
|
||
Each time you upload a document to the `main` branch, Github Actions/Github Pages will automatically rebuild the site. So if possible try to make only the minimum number of edits as any change triggers the rebuild process, which lasts about 3 minutes. | ||
|
||
|
||
# How to run the website locally on your computer | ||
|
||
Install Hugo, Node.js and NPM. | ||
|
||
Then in the command line, run: | ||
|
||
``` | ||
hugo serve | ||
``` | ||
[[languages.en.menu.main]] | ||
name = "Docs" | ||
weight = 40 | ||
url = "/documentation/" | ||
``` |