aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.toml4
-rw-r--r--sass/_colors.scss6
-rw-r--r--sass/abridge.scss2
-rw-r--r--templates/robots.txt8
4 files changed, 11 insertions, 9 deletions
diff --git a/config.toml b/config.toml
index 6b65a04..9b818e0 100644
--- a/config.toml
+++ b/config.toml
@@ -154,6 +154,7 @@ twitter_meta = "your-user-name" # for SEO: twitter:site and twitter:creator
google = "Your Google Site verification code."
bing = "Your Bing Site verification code."
seo = true # enable or disable seo-related meta tags: opengraph, facebook, twitter
+#dev = false # development mode, if true then robots.txt should prevent search indexing.
###############################################################################
@@ -209,7 +210,8 @@ search_library = 'elasticlunr'
#js_codecopy = "js/codecopy.js"# Bundleable - copy code block to clipboard button
#js_email = "js/email.js"# Bundleable - obfuscates email address in footer
-stylesheets = [ "abridge.css" ]
+stylesheets = ["abridge.css"]
+
###############################################################################
### Favicons, comment out a line to disable loading some or all of these if needed.
diff --git a/sass/_colors.scss b/sass/_colors.scss
index 497919d..d8de34b 100644
--- a/sass/_colors.scss
+++ b/sass/_colors.scss
@@ -33,7 +33,7 @@
$c1: #111 !default;// Background Color Primary
$c2: #222 !default;// Background Color Secondary
$c3: #333 !default;// Table Rows, Block quote edge, Borders
- $c4: #777 !default;// Disabled Buttons, Borders, mark background
+ $c4: #888 !default;// Disabled Buttons, Borders, mark background
$a1: #09f !default;// link color
$a2: #0bf !default;// link hover/focus color
$a3: #0af !default;// link h1-h2 hover/focus color
@@ -76,7 +76,7 @@
$f2: #222 !default;// Font Color Headers
$c1: #fff !default;// Background Color Primary
$c2: #def !default;// Background Color Secondary
- $c3: #137 !default;// Table Rows, Block quote edge, Borders
+ $c3: #cde !default;// Table Rows, Block quote edge, Borders
$c4: #013 !default;// Disabled Buttons, Borders, mark background
$a1: #06e !default;// link color
$a2: #09f !default;// link hover/focus color
@@ -93,7 +93,7 @@
$c1: #111 !default;// Background Color Primary
$c2: #222 !default;// Background Color Secondary
$c3: #333 !default;// Table Rows, Block quote edge, Borders
- $c4: #777 !default;// Disabled Buttons, Borders, mark background
+ $c4: #888 !default;// Disabled Buttons, Borders, mark background
$a1: #f90 !default;// link color
$a2: #fb0 !default;// link hover/focus color
$a3: #f90 !default;// link h1-h2 hover/focus color
diff --git a/sass/abridge.scss b/sass/abridge.scss
index b50d2b6..539e377 100644
--- a/sass/abridge.scss
+++ b/sass/abridge.scss
@@ -1178,7 +1178,7 @@ $syntax: true !default;//syntax highlighting for code blocks
cursor: pointer;
z-index: 9;
position: absolute;
- top: .3rem;
+ top: .2rem;
right: .5rem;
}
.cc:hover {
diff --git a/templates/robots.txt b/templates/robots.txt
index 09aba30..7977154 100644
--- a/templates/robots.txt
+++ b/templates/robots.txt
@@ -1,9 +1,9 @@
-{%- if config.extra.prod %}
+{%- if config.extra.dev %}
+User-Agent: *
+Disallow: /
+{%- else %}
Sitemap: {{ get_url(path="sitemap.xml", trailing_slash=false) }}
User-Agent: *
Allow: /
Host: {{ get_url(path="/", trailing_slash=false) }}
-{%- else %}
-User-Agent: *
-Disallow: /
{%- endif %}