diff options
| author | Jamal Carvalho <jamal@golang.org> | 2021-01-05 13:01:36 -0500 |
|---|---|---|
| committer | Jamal Carvalho <jamal@golang.org> | 2021-01-05 23:57:21 +0000 |
| commit | f04319e8d96d6a1af87657585405077076b5d83b (patch) | |
| tree | 724af8344d7af0b000b23dc85b9c2b6bce729b6e /devtools/cmd/css | |
| parent | f7e957fc875544e635e5415a8a7ff7c0f100a899 (diff) | |
| download | go-x-pkgsite-f04319e8d96d6a1af87657585405077076b5d83b.tar.xz | |
content/static: transform unit page css with postcss
This change moves pkgsite page styles to lib/css directory
and writes processed and minified css to static/css.
For golang/go#43360
Change-Id: I42d61f4a270e3cde5016c6063555eb037f35c302
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/281772
Trust: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to 'devtools/cmd/css')
| -rw-r--r-- | devtools/cmd/css/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/cmd/css/main.go b/devtools/cmd/css/main.go index f2de24c9..a7956f29 100644 --- a/devtools/cmd/css/main.go +++ b/devtools/cmd/css/main.go @@ -24,7 +24,7 @@ import ( ) const ( - cssFile = "content/static/css/readme.css" + cssFile = "content/lib/css/readme.css" githubStylesheet = "https://raw.githubusercontent.com/sindresorhus/github-markdown-css/gh-pages/github-markdown.css" githubREADMEClass = ".markdown-body" discoveryREADMEClass = ".Overview-readmeContent" |
