From 273a8786d820487a89000f723b305e51a194be82 Mon Sep 17 00:00:00 2001 From: bake Date: Mon, 20 May 2019 16:11:37 +0200 Subject: Add screenshots and an example configuration --- .gitignore | 3 +++ README.md | 16 ++++++++++------ exampleSite/config.toml | 21 +++++++++++++++++++++ images/screenshot.png | Bin 0 -> 168515 bytes images/tn.png | Bin 0 -> 72419 bytes theme.toml | 6 +++--- 6 files changed, 37 insertions(+), 9 deletions(-) create mode 100644 .gitignore create mode 100644 exampleSite/config.toml create mode 100644 images/screenshot.png create mode 100644 images/tn.png diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8b6757 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.DS_Store +exampleSite/content/ +exampleSite/resources/ diff --git a/README.md b/README.md index 1b566bf..a2d83e6 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ -Solar Theme for Hugo -==================== +# Solar Theme for Hugo -A minimalistic theme for [Hugo](https://gohugo.io/) blogs, based on the [Solar Theme for Ghost](https://github.com/mattvh/solar-theme-ghost). +A minimalistic theme for [Hugo](https://gohugo.io/) blogs, fork of [Solar Theme for Ghost](https://github.com/mattvh/solar-theme-ghost). -License -------- +It offers two color schemes: `light` and `dark`. Additional HTML can be injected just before `` and `` by creating a `header.html` or `footer.html` inside `layouts/partials/`. -GPLv2 or higher \ No newline at end of file +## Screenshot + +![Screenshot](/images/screenshot.png) + +## License + +GPLv2 or higher diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..e1cff48 --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,21 @@ +title = "Solar Theme" +theme = "solar-theme-hugo" +paginate = 2 + +[params] + scheme = "dark" + description = "A wizard is never late" + +[menu] + [[menu.main]] + name = "Feed" + url = "/index.xml" + [[menu.main]] + name = "Repository" + url = "https://github.com/bake/solar-theme-hugo" + [[menu.other]] + name = "Hugo" + url = "https://themes.gohugo.io/solar-theme-hugo/" + [[menu.other]] + name = "Demo" + url = "https://themes.gohugo.io/theme/solar-theme-hugo/" diff --git a/images/screenshot.png b/images/screenshot.png new file mode 100644 index 0000000..4911b31 Binary files /dev/null and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png new file mode 100644 index 0000000..82748d2 Binary files /dev/null and b/images/tn.png differ diff --git a/theme.toml b/theme.toml index 5af3435..e0a08d3 100644 --- a/theme.toml +++ b/theme.toml @@ -3,7 +3,7 @@ license = "GPLv2" licenselink = "https://github.com/bake/solar-theme-hugo/blob/master/LICENSE.md" description = "" homepage = "https://github.com/bake/solar-theme-hugo" -tags = [] +tags = ["blog", "light", "dark", "responsive", "highlight.js"] features = [] min_version = "0.25.1" @@ -12,6 +12,6 @@ min_version = "0.25.1" homepage = "https://192k.pw/" [original] + author = "mattvh" name = "solar-theme-ghost" - homepage = "https://github.com/bake/solar-theme-ghost" - repo = "https://github.com/bake/solar-theme-ghost" + repo = "https://github.com/mattvh/solar-theme-ghost" -- cgit v1.2.3