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

github.com/ExchangeRate-API/strange-case.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkbm <david@rooikat.com>2017-09-11 17:29:52 +0300
committerdkbm <david@rooikat.com>2017-09-11 17:29:52 +0300
commit5fc228822106c417cf860dac6250ffaf462b02c3 (patch)
tree4385b4bcbb60c078e6ae4c4040af9a070cfd98b6
parent5f4589f809b3993cc7e977ddc34761b97196b9d2 (diff)
Update for compatibility - 'now' function rather than '.Now'
-rw-r--r--layouts/partials/sidebar-content.html2
-rw-r--r--static/css/strange-case.css8
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/sidebar-content.html b/layouts/partials/sidebar-content.html
index b00524d..dbed850 100644
--- a/layouts/partials/sidebar-content.html
+++ b/layouts/partials/sidebar-content.html
@@ -25,7 +25,7 @@
</ul>
</div>
- <p class="copyright">{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
+ <p class="copyright">{{ with .Site.Params.copyright }}{{ . }}{{ else }}&copy; {{ now.Format "2006" }}. All rights reserved. {{end}}</p>
<p class="attr">Powered by <a href="http://http://gohugo.io">Hugo</a> &amp; <a href="https://github.com/ExchangeRate-API/strange-case">Strange Case</a> (inspired by <a href="https://github.com/poole/hyde">Hyde</a>).</p>
</div>
diff --git a/static/css/strange-case.css b/static/css/strange-case.css
index 3cd3cc3..beb08bb 100644
--- a/static/css/strange-case.css
+++ b/static/css/strange-case.css
@@ -158,16 +158,16 @@ p.attr {
background-color: #85B2D3;
color: #444;
}
-.scheme-gulf .sidebar h1 {
+.scheme-gulfracing .sidebar h1 {
color: #1C1C28;
}
-.scheme-gulf .sidebar a {
+.scheme-gulfracing .sidebar a {
color: #444;
}
-.scheme-gulf .content a {
+.scheme-gulfracing .content a {
color: #E75E16;
}
-.scheme-gulf .post .post-heading span {
+.scheme-gulfracing .post .post-heading span {
color: #9a9a9a;
}