debian-mirror-gitlab/workhorse-vendor/gocloud.dev/internal/website
2023-01-13 15:02:22 +05:30
..
.vscode New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
archetypes New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
content New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
data New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
gatherexamples New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
layouts New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
static New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
config.toml New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
go.mod New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
go.sum New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
listnewpkgs.sh New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
makeimports.sh New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30
README.md New upstream version 15.6.4+ds1 2023-01-13 15:02:22 +05:30

gocloud.dev source

Source for the gocloud.dev website. Powered by Hugo.

Local Development

Use local hugo server for preview. cd into this directory and run:

$ hugo server -D

This will run the Hugo server that auto-updates its output based on the source contents. It will print out the localhost:<PORT> URL to point the browser to.

This was tested with Hugo 0.53 but should work with subsequent versions as well.

Editing

Use hugo new foo/page.md to create content/foo/page.md. This will automatically add the appropriate Front Matter to the site. After modifying an existing page, add the lastmod attribute with the current ISO date, which you can obtain with date -I. For example:

---
title: Foo
date: "2019-03-17T09:00:00-07:00"
lastmod: "2019-03-18T13:30:12-07:00"
---

...