diff --git a/config.toml b/config.toml index f5f4f7a..e277fe1 100644 --- a/config.toml +++ b/config.toml @@ -2,3 +2,8 @@ baseURL = 'https://based.cooking/' languageCode = 'en-us' title = 'Based Cooking' theme = 'lugo' + +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true diff --git a/content/_index.md b/content/_index.md index e06deb1..bbdcea1 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,9 +2,39 @@ title: "🍲 Based Cooking 🍳" --- -## Categories +## What do you want to cook? -{{< tagcloud >}} + + + ## All Recipes diff --git a/static/style.css b/static/style.css index f4ea240..dc08c37 100644 --- a/static/style.css +++ b/static/style.css @@ -113,3 +113,36 @@ img[alt="XMR Logo"] { @media (min-width: 100em) { #artlist { column-count: 3 ;} } + + +input#search { + all: unset; + background: #222; + color: #fff; + padding: 0.7rem 1rem; + border-radius: 5px; + width: 100%; +} + +.search { + width: 400px; + max-width: 85vw; + position: relative; + margin: 0.5rem auto 1.2rem; + display: flex; +} + +button.clear-search { + all: unset; + position: absolute; + right: 4px; + top: 5px; + height: 30px; + width: 30px; + color: #888; + cursor: pointer; + transition: color 180ms ease-in-out; +} +button.clear-search:hover { + color: #eee; +}