[09/03/23] tags --> categories, added support for tags, changed category formatting
This commit is contained in:
parent
8c53fbd8d5
commit
a65511d465
16 changed files with 143 additions and 108 deletions
17
_includes/categoryStyle.html
Normal file
17
_includes/categoryStyle.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<style>
|
||||
{% assign categories = page.categories %}
|
||||
{% assign category = site.data.categories[categories.first] %}
|
||||
|
||||
code {
|
||||
color: {{ category.backColor }};
|
||||
}
|
||||
|
||||
pre {
|
||||
color: {{ category.backColor }}
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: {{ category.backColor }};
|
||||
color: {{ category.textColor }}
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue