From 83f1d6e4e86bdd456b7a44b8d6256feb628bc275 Mon Sep 17 00:00:00 2001 From: Varun A P Date: Wed, 14 Jul 2021 20:39:55 +0200 Subject: Fix formatting and Update Docs --- README.md | 8 ++++++++ images/screenshot-dark.png | Bin 0 -> 3198328 bytes images/screenshot.png | Bin 585701 -> 3200671 bytes images/tn.png | Bin 259464 -> 3200671 bytes layouts/partials/header.html | 2 +- layouts/partials/no-pagination.html | 5 +++-- layouts/partials/pagination.html | 4 ++-- theme.toml | 2 +- 8 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 images/screenshot-dark.png diff --git a/README.md b/README.md index 2cdee6b..b820b6c 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ git submodule add https://github.com/apvarun/showcase-hugo-theme.git themes/show Showcase theme ships with an fully configured example site. For a quick preview: +Copy the `package.json` file from `themes/showcase` folder to your hugo website root folder, and run `npm install`. + ```sh cd themes/showcase/exampleSite/ hugo serve --themesDir ../.. @@ -42,6 +44,12 @@ hugo serve --themesDir ../.. Then visit `http://localhost:1313/` in your browser to view the example site. +## Migrating to v1.3.0 + +Minimum Hugo Version: 0.69.0 + +- Copy the `package.json` file from `themes/showcase` folder to your hugo website root folder, and run `npm install`. + ## Add content The following explains how to add content to your Hugo site. You can find sample content in the `exampleSite/` folder. diff --git a/images/screenshot-dark.png b/images/screenshot-dark.png new file mode 100644 index 0000000..db41af1 Binary files /dev/null and b/images/screenshot-dark.png differ diff --git a/images/screenshot.png b/images/screenshot.png index be66fe0..7c0e384 100644 Binary files a/images/screenshot.png and b/images/screenshot.png differ diff --git a/images/tn.png b/images/tn.png index 5012d16..7c0e384 100644 Binary files a/images/tn.png and b/images/tn.png differ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3a425cb..736e6fb 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,4 @@ -
+
diff --git a/layouts/partials/no-pagination.html b/layouts/partials/no-pagination.html index a375ddc..f3ab88d 100644 --- a/layouts/partials/no-pagination.html +++ b/layouts/partials/no-pagination.html @@ -12,8 +12,9 @@ {{ .Title }} {{ end }} - {{ - title .Section }} + + {{ .Section }} +

{{ .Title }} diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index da50947..1325c8a 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -13,8 +13,8 @@ {{ .Title }} {{ end }} - {{ - title .Section }} + + {{ .Section }}

{{ .Title }} diff --git a/theme.toml b/theme.toml index e10ff8f..d98b8d8 100644 --- a/theme.toml +++ b/theme.toml @@ -5,7 +5,7 @@ description = "Minimal, one page, theme for showcasing your work" homepage = "https://github.com/apvarun/showcase-hugo-theme" tags = ["clean", "gallery", "minimal", "minimalist", "mobile", "one page", "personal", "responsive", "simple", "single page", "tailwind", "starter", "projects", "white" ] features = ["responsive", "portfolio", "gallery"] -min_version = "0.41.0" +min_version = "0.69.0" [author] name = "Varun A P" -- cgit v1.2.3