Skip to content

Commit

Permalink
starters: rename Minimal starter to LinkInBio & port to use Tailwind …
Browse files Browse the repository at this point in the history
…module
  • Loading branch information
Splitter committed Oct 29, 2023
1 parent ec4523a commit 5e5c1e3
Show file tree
Hide file tree
Showing 21 changed files with 215 additions and 230 deletions.
Binary file added .github/preview.webp
Binary file not shown.
70 changes: 70 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: Deploy Wowchemy website to GitHub Pages

env:
WC_HUGO_VERSION: '0.119.0'

on:
# Trigger the workflow every time you push to the `main` branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

# Provide permission to clone the repo and deploy it to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build website
build:
if: github.repository_owner != 'wowchemy'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# Fetch history for Hugo's .GitInfo and .Lastmod
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ env.WC_HUGO_VERSION }}
extended: true
- uses: actions/cache@v3
with:
path: /tmp/hugo_cache_runner/
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-hugomod-
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with Hugo
env:
HUGO_ENVIRONMENT: production
run: |
echo "Hugo Cache Dir: $(hugo config | grep cachedir)"
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./public

# Deploy website to GitHub Pages hosting
deploy:
if: github.repository_owner != 'wowchemy'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
7 changes: 0 additions & 7 deletions .gitignore

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020-present George Cushen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,34 @@
# [Hugo Minimal Theme](https://github.com/wowchemy/hugo-minimal-theme)
# [Fast & Flexible Link In Bio Theme](https://github.com/wowchemy/hugo-link-in-bio-theme)

[![Screenshot](./preview.png)](https://wowchemy.com/hugo-themes/)
[![Screenshot](./.github/preview.webp)](https://wowchemy.com/templates/)

The **Minimal Template** empowers you to easily create a simple one-page site **without any code**, just using **widgets**.
The **Fast & Flexible Link In Bio Template** empowers you to easily create a personalized and customizable page that houses all the important links that you want to share with your audience.

[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://wowchemy.com/hugo-themes/)
It's a link-in-bio solution that can be used on social platforms like Instagram, TikTok, Twitch, Facebook, YouTube, Twitter, LinkedIn, and more, by pasting your website link in your social media bio. **Start accelerating the discovery of your work, brand, or business!**

**Trusted by 250,000+ creators, researchers, and educators.** Highly customizable via the integrated **no-code, widget-based Wowchemy page builder**, making every site truly personalized ⭐⭐⭐⭐⭐

[Check out the latest demo](https://link-in-bio-theme.netlify.app) of what you'll get in less than 5 minutes, or [view the showcase](https://wowchemy.com/creators/).

[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://wowchemy.com/templates/)
[![Discord](https://img.shields.io/discord/722225264733716590?style=for-the-badge)](https://discord.com/channels/722225264733716590/742892432458252370/742895548159492138)
[![Twitter Follow](https://img.shields.io/twitter/follow/wowchemy?label=Follow%20on%20Twitter)](https://twitter.com/wowchemy)

[Check out the latest demo](https://hugo-minimal-theme.netlify.app/) of what you'll get in less than 60 seconds, or [get inspired by how others are using this template](https://wowchemy.com/creators/).

The integrated [**Wowchemy**](https://wowchemy.com) website builder and CMS makes it easy to create a beautiful website for free. Edit your site in the CMS (or your favorite editor), generate it with [Hugo](https://github.com/gohugoio/hugo), and deploy with GitHub or Netlify. Customize anything on your site with widgets, light/dark themes, and language packs.

- 👉 [**Get Started**](https://wowchemy.com/hugo-themes/)
- 📚 [View the **documentation**](https://wowchemy.com/docs/)
- 👉 [**Get Started**](https://wowchemy.com/templates/)
- 📚 [View the **documentation**](https://university.wowchemy.com/)
- 💬 [Chat with the **Wowchemy research community**](https://discord.gg/z8wNYzb) or [**Hugo community**](https://discourse.gohugo.io)
- ⬇️ **Automatically import citations from BibTeX** with the [Hugo Academic CLI](https://github.com/wowchemy/hugo-academic-cli)
- ⬇️ **Automatically import citations from BibTeX** with the [Bibtex to Markdown tool](https://github.com/wowchemy/bibtex-to-markdown)
- 🐦 Share your new site with the community: [@wowchemy](https://twitter.com/wowchemy) [@GeorgeCushen](https://twitter.com/GeorgeCushen) [#MadeWithWowchemy](https://twitter.com/search?q=%23MadeWithWowchemy&src=typed_query)
- 🗳 [Take the survey and help us improve #OpenSource](https://forms.gle/NioD9VhUg7PNmdCAA)
- 🚀 [Contribute improvements](https://github.com/wowchemy/wowchemy-hugo-themes/blob/main/CONTRIBUTING.md) or [suggest improvements](https://github.com/wowchemy/wowchemy-hugo-themes/issues)
- ⬆️ **Updating?** View the [Update Guide](https://wowchemy.com/docs/hugo-tutorials/update/) and [Release Notes](https://github.com/wowchemy/wowchemy-hugo-themes/releases)
- ⬆️ **Updating?** View the [Update Guide](https://university.wowchemy.com/) and [Release Notes](https://github.com/wowchemy/wowchemy-hugo-themes/releases)

## 💙 We ask you, humbly, to support this open source movement
## We ask you, humbly, to support this open source movement

Today we ask you to defend the open source independence of the Wowchemy website builder and themes 🐧

We're an open source movement that depends on your support to stay online and thriving, but 99.9% of our creators don't give; they simply look the other way.

### [️😍 Click here to become a GitHub Sponsor, unlocking awesome perks such as _exclusive academic templates and widgets_](https://github.com/sponsors/gcushen)
### [❤️ Click here to become a GitHub Sponsor, unlocking awesome perks such as _exclusive academic templates and widgets_](https://github.com/sponsors/gcushen)
2 changes: 2 additions & 0 deletions assets/dist/wc.css

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions assets/media/bg-hue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/media/icon.png
Binary file not shown.
Binary file removed assets/media/space.jpg
Binary file not shown.
34 changes: 0 additions & 34 deletions assets/scss/template.scss

This file was deleted.

27 changes: 8 additions & 19 deletions config/_default/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Hugo Documentation: https://gohugo.io/getting-started/configuration/#all-configuration-settings
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/

title: Hugo Minimal Theme # Website name
title: Fast & Free Link In Bio Website (Hugo Theme) # Website name
baseURL: 'https://example.com/' # Website URL

############################
Expand All @@ -21,15 +21,15 @@ removePathAccents: true

module:
imports:
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms
disable: true
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5
- path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-tailwind

############################
## ADVANCED
############################

build:
writeStats: true
enableGitInfo: false
summaryLength: 30
paginate: 10
Expand All @@ -43,31 +43,20 @@ permalinks:
categories: '/category/:slug/'
disableAliases: true
outputs:
home: [HTML, RSS, JSON, WebAppManifest, headers, redirects]
home: [HTML, RSS, headers, redirects]
section: [HTML, RSS]
imaging:
resampleFilter: lanczos
quality: 75
quality: 95
anchor: smart
timeout: 600000
taxonomies:
tag: tags
category: categories
author: authors
markup:
_merge: deep
related:
threshold: 80
includeNewer: true
toLower: true
indices:
- name: tags
weight: 100
- name: categories
weight: 70
highlight:
lineNos: false
security:
_merge: deep
sitemap:
_merge: deep
minify:
_merge: deep
12 changes: 0 additions & 12 deletions config/_default/menus.yaml

This file was deleted.

77 changes: 4 additions & 73 deletions config/_default/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,104 +4,35 @@
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/

# Appearance

appearance:
theme_day:
theme_night: minimal
font: native
font_size: L
theme_default: light

# SEO

marketing:
seo:
site_type: Person
local_business_type: ''
org_name: ''
description: 'A highly-customizable Hugo minimal theme powered by Wowchemy website builder.'
description: 'A highly-customizable Hugo link in bio theme powered by Wowchemy website builder.'
twitter: 'wowchemy'
analytics:
google_analytics: ''
baidu_tongji: ''
google_tag_manager: ''
microsoft_clarity: ''
verification:
google: ''
baidu: ''

# Site header

header:
navbar:
enable: false
align: r
show_logo: false
show_language: false
show_day_night: true
show_search: true
highlight_active_link: false

# Site footer
footer:
copyright:
notice: '© {year} Me. This work is licensed under {license}'
license:
enable: true
allow_derivatives: false
share_alike: true
allow_commercial: false
notice: '© {year} Me'

# Localization

locale:
date_format: 'Jan 2, 2006'
time_format: '3:04 PM'

# Site features

features:
syntax_highlighter:
enable: false
extra_languages:
- r
- latex
math:
enable: false
privacy_pack:
enable: false
repository:
url: 'https://github.com/<username>/<repository>'
content_dir: content
branch: main
avatar:
gravatar: false
shape: circle
comment:
provider: ''
disqus:
shortname: ''
show_count: true
commento:
url: ''
giscus:
repo: ''
repo_id: ''
category: ''
category_id: ''
search:
provider: ''
algolia:
app_id: ''
api_key: ''
index_name: ''
show_logo: false
map:
provider: ''
api_key: ''
zoom: 15

extensions:
cms:
branch: main
local_backend: false
academicons:
enable: false
Loading

0 comments on commit 5e5c1e3

Please sign in to comment.