feat: add detection of the theme version and Hugo version (#173)

* feat: add detection of the theme version and Hugo version

* fix: hugo.IsProduction is incompatible in Hugo v0.62.0
This commit is contained in:
Dillon
2020-03-16 21:35:16 +08:00
committed by GitHub
parent 9a7189c2a3
commit 41c2d3a38e
20 changed files with 53 additions and 26 deletions

View File

@@ -314,6 +314,16 @@
word-break: break-all;
}
}
.version {
font-weight: bold;
font-style: normal;
color: $global-highlight-color;
.dark-theme & {
color: $global-highlight-color-dark;
}
}
}
@import "../_partial/_single/footer";