diff options
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -61,6 +61,20 @@ To add a new article: Update `data/projects.yaml` and then run `bin/gen-projects.rb`. +**Note:** If you want to add [Go][] module, you can set the `type` of +the entry to `go`, like so: + + - name: "example-go-mod" + type: "go" + slug: "example-go-mod" + repo: "https://github.com/pablotron/example-go-mod" + text: "Example Go module." + +Adding a `type: go` property in `data/projects.yaml` adds a `go_import` +property to the project front matter, which adds a `<meta +name="go-import" content="...">` element to the header of the generated +page. + ## Edit Navbar Menu To add or edit navbar menu entries: |