diff --git a/static/api.css b/static/api.css
index df94dda..633e81f 100644
--- a/static/api.css
+++ b/static/api.css
@@ -15,7 +15,7 @@ span.code {
font-family: monospace;
}
-span.resp-dtype, span.resp-desc {
+span.resp-dtype, span.resp-desc, span.resp-cond {
padding: 0 0.25em;
background-color: #EEE;
}
@@ -24,11 +24,11 @@ span.resp-dtype {
color: #009;
}
-span.resp-dtype:before {
+span.resp-dtype:before, span.resp-cond:before {
content: "(";
}
-span.resp-dtype:after {
+span.resp-dtype:after, span.resp-cond:before {
content: ")";
}
@@ -36,6 +36,10 @@ span.resp-desc {
color: #050;
}
+span.resp-cond {
+ color: #900;
+}
+
span.param-key {
color: #009;
font-weight: bold;
diff --git a/templates/api.mako b/templates/api.mako
index 7f974c5..a5157f7 100644
--- a/templates/api.mako
+++ b/templates/api.mako
@@ -167,14 +167,14 @@
"time": float time to generate results, in seconds,
"queries": int number of search engine queries made,
"cached": boolean whether or not these results are cached from an earlier search (always false in the case of action=compare),
- (only if cached=true) "cache_time": string human-readable time of the original search that the results are cached from,
+ only if cached=true "cache_time": string human-readable time of the original search that the results are cached from,
"redirected": boolean whether or not a redirect was followed
},
"page": {
"title": string the normalized title of the page checked,
"url": string the full URL of the page checked
},
- (only if redirected=true) "original_page": {
+ only if redirected=true "original_page": {
"title": string the normalized title of the original page whose redirect was followed,
"url": string the full URL of the original page whose redirect was followed
},