Skip to content

Commit

Permalink
Update License and rename theme
Browse files Browse the repository at this point in the history
  • Loading branch information
MJacred committed Dec 5, 2022
1 parent b41cf53 commit 1fc647d
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 42 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
working_directory: my-site
command: |
apk add git
git clone https://github.com/StefMa/hugo-fresh themes/hugo-fresh
git clone https://github.com/cubiest/hugo-invi themes/hugo-invi
- run:
working_directory: my-site/themes/hugo-fresh
working_directory: my-site/themes/hugo-invi
command: |
set +e
isPrIfGreaterThanZero=$(expr $CIRCLE_BRANCH : "pull")
Expand Down Expand Up @@ -54,15 +54,15 @@ jobs:
fi
rm config.toml
apk add curl
curl https://codeload.github.com/stefma/hugo-fresh/tar.gz/$branch | tar -xz --strip=2 hugo-fresh-$branch/exampleSite/
curl https://codeload.github.com/cubiest/hugo-invi/tar.gz/$branch | tar -xz --strip=2 hugo-invi-$branch/exampleSite/
- run:
name: Replace baseUrl in config
working_directory: my-site
command: |
apk add sed
URL=hugo-fresh-$(echo $CIRCLE_BRANCH | tr _ - | tr / -)
URL=hugo-invi-$(echo $CIRCLE_BRANCH | tr _ - | tr / -)
if [ $CIRCLE_BRANCH == "master" ]; then
URL=hugo-fresh
URL=hugo-invi
fi
sed -i "s,http://something-fresh.org,https://${URL}.vercel.app,g" config.yaml
cat config.yaml
Expand All @@ -76,11 +76,11 @@ jobs:
name: Create now.json
working_directory: my-site/public
command: |
URL=hugo-fresh-$(echo $CIRCLE_BRANCH | tr _ - | tr / -)
URL=hugo-invi-$(echo $CIRCLE_BRANCH | tr _ - | tr / -)
if [ $CIRCLE_BRANCH == "master" ]; then
URL=hugo-fresh
URL=hugo-invi
fi
echo "{ \"version\": 2, \"name\": \"hugo-fresh\", \"alias\": \"${URL}\", \"builds\": [{ \"src\": \"**\", \"use\": \"@now/static\" }] }" >> now.json
echo "{ \"version\": 2, \"name\": \"hugo-invi\", \"alias\": \"${URL}\", \"builds\": [{ \"src\": \"**\", \"use\": \"@now/static\" }] }" >> now.json
- run:
name: Install now CLI
Expand Down
4 changes: 3 additions & 1 deletion LICENSE → LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
MIT License

Copyright (c) 2019 Stefan M.
Copyright (c) 2018 lucperkins
Copyright (c) 2019 - September 2022 Stefan M.
Copyright (c) December 2022 Cubiest

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# The Fresh theme for Hugo
# Hugo Invi - The Fresh theme for Hugo

[![Documentation](https://img.shields.io/badge/Documentation-red)](https://stefma.github.io/hugo-fresh)
[![Live Demo](https://img.shields.io/badge/Live%20Demo-blue)](https://hugo-fresh.vercel.app)

**Fresh** is a theme for the [Hugo](https://gohugo.io) static site generator adapted from the gorgeous, [Bulma](https://bulma.io)-based theme of the same name from [CSS Ninja](https://cssninja.io/freebies/fresh). You can find a live demo of the original theme [here](https://cssninjastudio.github.io/fresh) and a live demo of the Hugo theme [here](https://hugo-fresh.vercel.app).

![Fresh theme logo](images/screenshot.png)
**Hugo Invi** is a theme for the [Hugo](https://gohugo.io) static site generator based on [hugo-fresh](https://github.com/StefMa/hugo-fresh), which is based on `Fresh` by [CSS Ninja](https://cssninja.io/product/fresh).
8 changes: 4 additions & 4 deletions docs/config.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
baseURL: "https://stefma.github.io/hugo-fresh"
baseURL: "https://cubiest.github.io/hugo-invi"
languageCode: "en-us"
title: "Hugo Fresh documentation"
module:
imports:
path: github.com/StefMa/hugo-fresh
path: github.com/cubiest/hugo-invi

params:
navbarlogo:
image: logos/fresh.svg
link: /hugo-fresh
link: /hugo-invi
hero:
title: hugo fresh documentation
subtitle: Probably the best hugo theme out there!
Expand All @@ -17,5 +17,5 @@ params:
image: illustrations/worker.svg
navbar:
- title: GitHub
url: https://github.com/StefMa/hugo-fresh
url: https://github.com/cubiest/hugo-invi
button: true
14 changes: 7 additions & 7 deletions docs/content/getstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ include_footer: false

## The Fresh theme for Hugo

**Fresh** is a theme for the [Hugo](https://gohugo.io) static site generator adapted from the gorgeous, [Bulma](https://bulma.io)-based theme of the same name from [CSS Ninja](https://cssninja.io/themes/fresh). You can find a live demo of the original theme [here](https://cssninjastudio.github.io) and a live demo of the Hugo theme [here](https://hugo-fresh.now.sh/).
**Fresh** is a theme for the [Hugo](https://gohugo.io) static site generator adapted from the gorgeous, [Bulma](https://bulma.io)-based theme of the same name from [CSS Ninja](https://cssninja.io/themes/fresh). You can find a live demo of the original theme [here](https://cssninjastudio.github.io) and a live demo of the Hugo theme [here](https://hugo-invi.now.sh/).

<img src="https://raw.githubusercontent.com/StefMa/hugo-fresh/master/images/screenshot.png" style="margin-left:auto;margin-right:auto;" />
<img src="https://raw.githubusercontent.com/cubiest/hugo-invi/master/images/screenshot.png" style="margin-left:auto;margin-right:auto;" />

## Getting started

Expand All @@ -23,13 +23,13 @@ To create a new site using this theme
hugo new site my-site && cd my-site

# Clone the Fresh theme
git clone https://github.com/StefMa/hugo-fresh themes/hugo-fresh
git clone https://github.com/cubiest/hugo-invi themes/hugo-invi

# Remove the default config
rm config.toml

# Fetch the example config
curl -O https://raw.githubusercontent.com/StefMa/hugo-fresh/master/exampleSite/config.yaml
curl -O https://raw.githubusercontent.com/cubiest/hugo-invi/master/exampleSite/config.yaml

# Run the site locally
hugo server
Expand All @@ -54,13 +54,13 @@ hugo mod init YOUR_MODULE_NAME
rm config.toml

# Fetch the example config
curl -O https://raw.githubusercontent.com/StefMa/hugo-fresh/master/exampleSite/config.yaml
curl -O https://raw.githubusercontent.com/cubiest/hugo-invi/master/exampleSite/config.yaml

# Replace theme with module in config.yaml
#theme: [hugo-fresh]
#theme: [hugo-invi]
module:
imports:
path: github.com/StefMa/hugo-fresh
path: github.com/cubiest/hugo-invi

# Run the site locally
hugo server
Expand Down
2 changes: 1 addition & 1 deletion docs/content/landingpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ footer:
logo: fresh-white-alt.svg
# Social media links (GitHub, Twitter, etc.). All are optional.
socialmedia:
- link: https://github.com/StefMa/hugo-fresh
- link: https://github.com/cubiest/hugo-invi
# Icons are from Font Awesome
icon: github
- link: https://dribbble.com/#
Expand Down
6 changes: 2 additions & 4 deletions docs/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/stefma/hugo-fresh/docs
module github.com/cubiest/hugo-invi/docs

go 1.15

require github.com/StefMa/hugo-fresh v0.0.0-20210215141724-0fa1741f382c // indirect
go 1.18
2 changes: 0 additions & 2 deletions docs/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
github.com/StefMa/hugo-fresh v0.0.0-20210215141724-0fa1741f382c h1:QYmEuOnjZddrD7PAaMfOF5QcK6DuuQRANhb7CWY2h4o=
github.com/StefMa/hugo-fresh v0.0.0-20210215141724-0fa1741f382c/go.mod h1:0kyrjS5vdFJ47D7bPs6JwXTkctiMaQbToeBaOQsw1Tw=
2 changes: 1 addition & 1 deletion exampleSite/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
baseURL: http://something-fresh.org/
languageCode: en-us
title: Hugo Fresh Theme
theme: hugo-fresh
theme: hugo-invi
googleAnalytics: # Put in your tracking code without quotes like this: UA-XXXXXX...
# Disables warnings
disableKinds:
Expand Down
14 changes: 7 additions & 7 deletions theme.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name = "Hugo Fresh"
name = "Hugo Invi"
license = "MIT"
licenselink = "https://github.com/StefMa/hugo-fresh/blob/master/LICENSE.md"
licenselink = "https://github.com/cubiest/hugo-invi/blob/master/LICENSE.txt"
description = "A Hugo adaptation of the Fresh theme from CSS Ninja"
homepage = "https://github.com/StefMa/hugo-fresh"
tags = ["responsive", "one page", "light", "onepage", "company", "clean", "landing page"]
homepage = "https://github.com/cubiest/hugo-invi"
tags = ["responsive", "light", "company", "clean", "landing page"]
features = []
min_version = "0.45"
min_version = "0.107"

[author]
name = "Stefan M."
homepage = "https://github.com/StefMa"
name = "Cubiest"
homepage = "https://github.com/cubiest"

0 comments on commit 1fc647d

Please sign in to comment.