godev/internal: require layout field for markdown pages

Previously the content server had hidden requirement for a template
named base.html to exist in on the filesystem. This change removes
that requirement in favor of making the layout field required in the
markdown frontmatter section.

Change-Id: I037181cf9e2454de6a9bce9410f73af408e18474
Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/499915
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
4 files changed
tree: c8a8a48ba7e485bcbdf1318cee0017c0fbc68c95
  1. config/
  2. godev/
  3. internal/
  4. CONTRIBUTING.md
  5. doc.go
  6. go.mod
  7. go.sum
  8. LICENSE
  9. PATENTS
  10. README.md
  11. types.go
README.md

Go Telemetry

This repository holds the Go Telemetry server code and libraries.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/telemetry:” in the subject line, so it is easy to find.