aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 42cf3cc..5415159 100644
--- a/README.md
+++ b/README.md
@@ -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: