Skip to content

Commit

Permalink
Fix formatting and Update Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
apvarun committed Jul 14, 2021
1 parent 9220490 commit 83f1d6e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,21 @@ 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 ../..
```

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.
Expand Down
Binary file added images/screenshot-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/tn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -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"
>
Expand Down
5 changes: 3 additions & 2 deletions layouts/partials/no-pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 83f1d6e

Please sign in to comment.