You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Download Hugo Extended](https://gohugo.io/installation/windows/#prebuilt-binaries), unzip and place that into your programs folder,
7
-
* Add it to your path (environment variables),
1
+
Source of [vvvv.org](http://vvvv.org)
2
+
3
+
## Adding a Blog post
4
+
5
+
- Fork this repository
6
+
- Browse [the blog folder](https://github.com/vvvv/vvvv.org/tree/main/content/blog/) to see how existing posts are written
7
+
- Create a new folder in the `\{currentYear]\News` or `\{currentYear]\Dates` folder (depending on the type of your post) with a short name describing the post (that folder name is just for the folder structure, no other relevance)
8
+
- The only file that is mandatory in your folder is the `index.md` file. Best copy one over from another blogpost and modify it
9
+
- For posts of type `date` you need to enter from- and to- dates in unix time, which can be converted to from date using e.g. this [date -> timestamp converter](https://dqydj.com/unix-time-to-date-converter/)
10
+
- To preview your post locally, see the section "Local Build" below
11
+
- Finally make a pull-request from your fork to this repo
12
+
13
+
### Shortcodes
14
+
For embedding external media use these short codes:
* Vimeo: `{{< vimeo 761078720 >}}` Parameters: Vimeo ID
19
+
* Youtube `{{< youtube 761078720 >}}` Parameters: Youtube ID
20
+
21
+
## Local build:
22
+
*[Download Hugo Extended](https://github.com/gohugoio/hugo/releases/tag/v0.145.0), **Version 0.145**, unzip and place that into your programs folder,
23
+
* Add it to your path (environment variables)
8
24
* Powershell:
9
-
* cd C:\dev\vvvv.org
10
-
* hugo server
25
+
*`cd C:\dev\vvvv.org`
26
+
*`hugo server`
11
27
* Open http://localhost:1313/ in your browser
12
28
13
29
To run in the browser and to be able to access the site from the same local wifi (eg. checking on mobile), run hugo with:
14
30
`hugo serve --bind 0.0.0.0 --baseURL http://IP:1313` where IP is your IP from `ipconfig`
15
-
16
-
### Blog timecodes
17
-
A date blogs from- and to- dates are specified in unix time, which can be converted to from date using e.g. this [date -> timestamp converter](https://dqydj.com/unix-time-to-date-converter/)
0 commit comments