[x/go.dev] all: simplify, rename template functions for clarity

markdownify -> markdown
safeHTML -> rawhtml

In particular, safeHTML sounds like something that converts to safe HTML.
The "raw" in rawhtml should make clearer that this is an unsafe operation.
While we are here, make the markdown conversion function just "markdown".

RelPermalink -> Path
Permalink -> URL

These are more in keeping with standard Go terminology.

Remove various other no longer needed things that were
mimicking Hugo.

Change-Id: Ia07cd265a349ddacf5e6fb13221a91cabe01cafe
X-GoDev-Commit: 2c0f37cbca11b795218fbce39a7fd1b1e6832652
16 files changed
tree: 953ebfbb508511260a7c38a57304e010f1692bcb
  1. go.dev/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

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/website:” in the subject line, so it is easy to find.