Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/apvarun/showcase-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarun A P <varunlakshmananap@gmail.com>2021-07-14 21:39:55 +0300
committerVarun A P <varunlakshmananap@gmail.com>2021-07-14 21:39:55 +0300
commit83f1d6e4e86bdd456b7a44b8d6256feb628bc275 (patch)
treea401bfc41bd511e5c5ab38c82e9b9bf34f097a6a
parent922049056340899725da265b3789173149db599f (diff)
Fix formatting and Update Docsv1.3.0
-rw-r--r--README.md8
-rw-r--r--images/screenshot-dark.pngbin0 -> 3198328 bytes
-rw-r--r--images/screenshot.pngbin585701 -> 3200671 bytes
-rw-r--r--images/tn.pngbin259464 -> 3200671 bytes
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/no-pagination.html5
-rw-r--r--layouts/partials/pagination.html4
-rw-r--r--theme.toml2
8 files changed, 15 insertions, 6 deletions
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
--- /dev/null
+++ b/images/screenshot-dark.png
Binary files differ
diff --git a/images/screenshot.png b/images/screenshot.png
index be66fe0..7c0e384 100644
--- a/images/screenshot.png
+++ b/images/screenshot.png
Binary files differ
diff --git a/images/tn.png b/images/tn.png
index 5012d16..7c0e384 100644
--- a/images/tn.png
+++ b/images/tn.png
Binary files 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 @@
-<header class="text-gray-700 body-font sticky top-0 z-10 dark:text-white">
+<header class="text-gray-700 body-font sticky top-0 z-10 bg-white dark:bg-gray-900 dark:text-white">
<div
class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center"
>
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 @@
<img alt="{{ .Title }}" class="object-cover object-center h-full w-full"
src="{{ (or .Params.Image .CurrentSection.Params.Image) }}" />
{{ end }}
- <span class="bg-blue-500 text-white px-3 py-1 tracking-widest text-xs absolute right-0 top-0 rounded-bl">{{
- title .Section }}</span>
+ <span class="bg-blue-500 text-white px-3 py-1 tracking-widest text-xs absolute right-0 top-0 rounded-bl">
+ {{ .Section }}
+ </span>
<h2
class="text-white px-2 py-1 tracking-widest text-2xl leading-tight font-extrabold font-bree text-center w-full h-full flex justify-center items-center absolute top-0 left-0">
{{ .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 @@
<img alt="{{ .Title }}" class="object-cover object-center h-full w-full"
src="{{ (or .Params.Image .CurrentSection.Params.Image) }}" />
{{ end }}
- <span class="bg-blue-500 text-white px-3 py-1 tracking-widest text-xs absolute right-0 top-0 rounded-bl">{{
- title .Section }}</span>
+ <span class="bg-blue-500 text-white px-3 py-1 tracking-widest text-xs absolute right-0 top-0 rounded-bl">
+ {{ .Section }}</span>
<h2
class="text-white px-2 py-1 tracking-widest text-2xl leading-tight font-extrabold font-bree text-center w-full h-full flex justify-center items-center absolute top-0 left-0">
{{ .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"