From ad75aca5c2d4cd7a9919e990338125376c2d9658 Mon Sep 17 00:00:00 2001 From: Track3 Date: Thu, 14 Feb 2019 16:29:13 +0800 Subject: [PATCH] Add Netlify status badges and demo link to the readme --- README.md | 6 +++++- exampleSite/config.toml | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b09fe3..8f8956a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Hugo theme Hermit +[![Netlify Status](https://api.netlify.com/api/v1/badges/01a2e2de-d57d-4d89-8322-95685000e60f/deploy-status)](https://app.netlify.com/sites/hugo-theme-hermit/deploys) + Hermit is a minimal and fast theme for Hugo. It's built for bloggers who want a simple and focused website. ![](https://github.com/Track3/hermit/raw/master/images/screenshot.png) @@ -13,13 +15,15 @@ Hermit is a minimal and fast theme for Hugo. It's built for bloggers who want a * Extremely lightweight and load fast. No third party framework, no unnecessary code. * Responsive & Retina Ready. Scales gracefully from a big screen all the way down to the smallest mobile phone. Assets in vector format ensures that it looks sharp on high-resolution screens. +**[Theme Demo](https://hugo-theme-hermit.netlify.com/)** (uses contents and config from the `exampleSite` folder) + ![](https://github.com/Track3/hermit/raw/master/images/hermit.png) ## Getting started ### Installation -Run this command from the root of your Hugo directory (Git needs to be installed): +Run this command from the root of your Hugo directory: ```bash $ git clone https://github.com/Track3/hermit.git themes/hermit diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f5f6886..d8cfb88 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -43,8 +43,8 @@ enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/func # Prefix of link to the git commit detail page. GitInfo must be enabled. # gitUrl = "https://github.com/username/repository/commit/" - # Toggle this option need to rebuild SCSS, requires extended version of Hugo - justifyContent = false # Set "text-align: justify" to .content. + # Toggling this option needs to rebuild SCSS, requires Hugo extended version + justifyContent = false # Set "text-align: justify" to `.content`. # Add custom css # customCSS = ["css/foo.css", "css/bar.css"]