Skip to content

Commit

Permalink
content: convert doc/{conduct,security}.html to non-template
Browse files Browse the repository at this point in the history
There are no template features being used in either of these two files,
so convert them to regular non-template HTML files. Having template be
off has proven to be a safer default, and it uses less CPU.

For golang/go#37070.
For golang/go#37072.
For golang/go#37090.

Change-Id: Ib0de115e58c51a9660d648dbb8793fcaae9a7197
Reviewed-on: https://go-review.googlesource.com/c/website/+/229079
Reviewed-by: Alexander Rakoczy <alex@golang.org>
  • Loading branch information
MK825 committed Apr 20, 2020
1 parent 5edc685 commit c2b8ae7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions content/static/doc/conduct.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<!--{
"Title": "Go Community Code of Conduct",
"Path": "/conduct",
"Template": true
"Path": "/conduct"
}-->

<style>
Expand Down
3 changes: 1 addition & 2 deletions content/static/doc/security.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<!--{
"Title": "Go Security Policy",
"Path": "/security",
"Template": true
"Path": "/security"
}-->

<h2>Implementation</h2>
Expand Down
Loading

0 comments on commit c2b8ae7

Please sign in to comment.