Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/VVelox/hugo-dusky-neon-potato.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-24 11:25:11 +0300
committerZane C. Bowers-Hadley <vvelox@vvelox.net>2018-09-24 11:25:11 +0300
commit18b37e990d6c91979fa940586af7d003287dc536 (patch)
treec3d8c4683b52b357e8711a94f80187544d0e726e
parentf1029aed221024de43c3d76051210ba1eb6be926 (diff)
add info on the graph colors to the readme and rename variables for graphing to be more consistent
-rw-r--r--README.md9
-rw-r--r--layouts/partials/theme-colors.css4
2 files changed, 9 insertions, 4 deletions
diff --git a/README.md b/README.md
index 012d4f3..4da4b2a 100644
--- a/README.md
+++ b/README.md
@@ -44,7 +44,7 @@ as below. With out that, none of the shortcodes will work properly as the requir
CSS and JS will not be included in the header.
```
-graphing = true
+graphing: true
```
## Configuration
@@ -60,7 +60,7 @@ display.
title: "About"
date: 2018-09-02T22:41:40-05:00
draft: false
-no_pagination = true
+no_pagination: true
---
A rutting about page.
@@ -135,4 +135,9 @@ defaults are shown below.
# related items(at the cottom of posts)
related-bg="#101010"
related-fg="#66FF00"
+
+ # graph axis
+ graph-lines="#66FF00"
+ # text on the graphs
+ graph-text="#FF00FF"
```
diff --git a/layouts/partials/theme-colors.css b/layouts/partials/theme-colors.css
index 8ff04c7..8fd3539 100644
--- a/layouts/partials/theme-colors.css
+++ b/layouts/partials/theme-colors.css
@@ -279,9 +279,9 @@ blockquote {
.c3 path, .c3 line {
- stroke: {{ .Param "colors.graphLines" | default "#66FF00" }};
+ stroke: {{ .Param "colors.graph-lines" | default "#66FF00" }};
}
.c3 text {
- stroke: {{ .Param "colors.graphText" | default "#FF00FF" }};
+ stroke: {{ .Param "colors.grap-text" | default "#FF00FF" }};
}