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
gcushen committed Oct 29, 2023
1 parent 9b6cb2d commit ed188eb
Show file tree
Hide file tree
Showing 38 changed files with 258 additions and 473 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/split-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
split_repository: 'starter-hugo-portfolio-theme'
- local_path: 'course'
split_repository: 'starter-hugo-online-course'
- local_path: 'minimal'
- local_path: 'link-in-bio'
split_repository: 'hugo-link-in-bio-theme'
- local_path: 'research-group'
split_repository: 'starter-hugo-research-group'
Expand Down
93 changes: 0 additions & 93 deletions starters/blog-bootstrap/config/_default/config.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions starters/blog-bootstrap/netlify.toml

This file was deleted.

File renamed without changes.
Binary file added starters/link-in-bio/.github/preview.webp
Binary file not shown.
70 changes: 70 additions & 0 deletions starters/link-in-bio/.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
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
<!--<p align="center"><a href="https://wowchemy.com" target="_blank" rel="noopener"><img src="https://sourcethemes.com/academic/img/logo_200px.png" alt="Wowchemy Website Builder"></a></p>-->
# [Fast & Flexible Link In Bio Theme](https://github.com/wowchemy/hugo-link-in-bio-theme)

# [Hugo Academic Blog Theme](https://github.com/wowchemy/hugo-blog-theme)
[![Screenshot](./.github/preview.webp)](https://wowchemy.com/templates/)

[![Screenshot](./preview.webp)](https://wowchemy.com/hugo-themes/)
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.

The **Hugo Academic Blog Template** empowers you to easily create your own _personal blog_ or _build a business around your content_.
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+ researchers, educators, and students.** Highly customizable via the integrated **no-code, widget-based Wowchemy page builder**, making every site truly personalized ⭐⭐⭐⭐⭐
**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 ⭐⭐⭐⭐⭐

[![Get Started](https://img.shields.io/badge/-Get%20started-ff4655?style=for-the-badge)](https://wowchemy.com/hugo-themes/)
[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)

Easily write technical content with plain text Markdown, LaTeX math, diagrams, RMarkdown, or Jupyter, and import publications from BibTeX.

[Check out the latest demo](https://hugo-blog-theme.netlify.app/) of what you'll get in less than 10 minutes, or [view the showcase](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

Expand All @@ -34,8 +32,3 @@ Today we ask you to defend the open source independence of the Wowchemy website
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)

## Demo credits

- Images
- [cat](https://unsplash.com/photos/GtwiBmtJvaU) (in blog post)
2 changes: 2 additions & 0 deletions starters/link-in-bio/assets/dist/wc.css

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions starters/link-in-bio/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.
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
38 changes: 38 additions & 0 deletions starters/link-in-bio/config/_default/params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# SITE SETUP
# Guide: https://wowchemy.com/docs/getting-started/
# Documentation: https://wowchemy.com/docs/
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/

# Appearance
appearance:
theme_default: light

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

# Site header
header:
navbar:
enable: false

# Site footer
footer:
copyright:
notice: '© {year} Me'

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

0 comments on commit ed188eb

Please sign in to comment.