From a741672bdfee1f864c58b2ba5415e639b5eff731 Mon Sep 17 00:00:00 2001 From: Ethan Madison Date: Sun, 10 May 2015 23:47:02 -0700 Subject: [PATCH] Add theme-color tag in header (defined by themecolor param) --- README.md | 1 + layouts/partials/header.html | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 2a3b9be..a036cfc 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ copyright = "© Copyright notice" bio = "Your short bio/tagline" # Short subtitle/tagline. This is displayed in the header. subtitle = "is a software developer, hardware hacker and a beer lover. He believes in the power of code." + themecolor = "#hexcolor" # Defines the tab color in Chrome for Android. ``` ## Usage diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1d870d9..bba7b63 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -3,6 +3,9 @@ + {{ with .Site.Params.themecolor }} + + {{ end }}