@@ -6,37 +6,40 @@ The contents of the Pyodide blog ([blog.pyodide.org](https://blog.pyodide.org))
6
6
7
7
## Build locally
8
8
9
- To build locally clone this repository, and update submodules
10
- ```
9
+ To build locally, install Hugo, clone this repository, and update the theme submodule:
10
+
11
+ ``` bash
11
12
cd pyodide-blog
12
13
git submodule update --init --recursive
13
14
```
14
- then build the blog with Hugo,
15
- ```
15
+ then build the blog with Hugo:
16
+
17
+ ``` bash
16
18
hugo server -D
17
19
```
18
20
19
- Note: the Linux Hugo executable is included in this repo. If you are on Linux,
20
- change all ` hugo ` commands to ` ./hugo ` . Otherwise if you are on a different OS,
21
- you would need to [ install
22
- Hugo] ( https://gohugo.io/getting-started/installing/ ) .
21
+ To install Hugo on you platform, please view the [ installation instructions] ( https://gohugo.io/getting-started/installing/ )
22
+ for your platform.
23
23
24
24
## Contributing
25
25
26
26
We accept guest posts. If you would like to propose a post,
27
- - please open an issue with a brief description.
28
- - Once the general post idea is approved, run,
29
- ```
30
- hugo new content/posts/<post-url>.md
31
- ```
32
- and open a PR with the contents of your post in markdown in that file.
27
+ - please open an issue with a brief description.
28
+ - Once the general post idea is approved, run:
29
+
30
+ ``` bash
31
+ hugo new content/posts/< post-url> .md
32
+ ```
33
+
34
+ and open a PR with the contents of your post in a Markdown file.
33
35
34
36
Proposals from existing Pyodide contributors will be given preference.
35
37
36
38
## License
37
39
38
40
The source code for configuration files is distributed under MPL 2.0 license.
39
- The blog post contents are shared under the [ CC
40
- BY] ( https://creativecommons.org/licenses/by/4.0/ ) license. In particular, if
41
- you republish an adapted version of the content on other websites you must
42
- credit the original source by linking to it.
41
+ The blog post contents are shared under the [ CC BY 4.0] ( https://creativecommons.org/licenses/by/4.0/ )
42
+ license. In particular, if you aim to republish an adapted version of the
43
+ content on other websites, you must credit the original source by linking
44
+ to it, which should comply with their license and our license, and other
45
+ requirements that apply.
0 commit comments