Commit 47eceec
_content: fix markdown styling with dark theme under /src
This adds a template for markdown files under the go.dev/src path
Font color is set by a css variable under an Article selector.
The previous implementation did apply the Article class to pages
under the /src path.
By creating a default template pages will respect theme font colors.
Fixes golang/go#64929
Change-Id: Icc8e1866056553eaa9b2c2569e2c34cb9fb7fda5
GitHub-Last-Rev: f20f3c8
GitHub-Pull-Request: #269
Reviewed-on: https://go-review.googlesource.com/c/website/+/553957
LUCI-TryBot-Result: Go LUCI <[email protected]>
Auto-Submit: Robert Findley <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>1 parent 7567411 commit 47eceec
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments