mirror of
https://github.com/netz39/www.netz39.de.git
synced 2025-01-19 04:20:10 +01:00
986 B
986 B
layout | title | tags | color | author | categories | excerpt_separator | ||
---|---|---|---|---|---|---|---|---|
post | Color Post |
|
brown | sylhare | Example | <!--more--> |
What a colorful post!
This is an idea that came from xukimseven/HardCandy-Jekyll looking at this cheerful and colorful theme, I wanted to enable something similar for Type-on-Strap.
You can go fork and star HardCandy-Jekyll too! 😉
How does it work?
Basically you need to add just one thing, the color:
---
layout: post
title: Color Post
color: brown
---
It can either be a html color like brown
(which look like red to me). Or with the rgb:
---
layout: post
title: Color Post
color: rgb(165,42,42)
---
The background used is lineart.png
from xukimseven you can edit it in the config file.
If you want another one, put it in /assets/img
as well.
⚠️ It's a bit hacking the css in the
post.html