content/static: re-add "or" function call to package.html template

It was removed unintentionally in CL 101295, where the intention was
to remove the (eq $.Dirname "/src") condition.

Fixes golang/go#35812

Change-Id: I45f5c9cf28f3c6cddebe282f230a79019ac4d8bb
Reviewed-on: https://go-review.googlesource.com/c/website/+/208757
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
2 files changed
tree: 9e30bd2767e67f2d27b604ab661af2f0ab8ce4dd
  1. AUTHORS
  2. CONTRIBUTING.md
  3. CONTRIBUTORS
  4. LICENSE
  5. PATENTS
  6. README.md
  7. cmd/
  8. codereview.cfg
  9. content/
  10. favicon.ico
  11. go.mod
  12. go.sum
  13. internal/
  14. robots.txt
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 website 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.