-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76a420e
commit 8428cff
Showing
22 changed files
with
427 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Sample workflow for building and deploying a Hugo site to GitHub Pages | ||
name: Deploy Hugo site to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: | ||
- main | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
# Default to bash | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
HUGO_VERSION: 0.121.0 | ||
steps: | ||
- name: Install Hugo CLI | ||
run: | | ||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ | ||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb | ||
- name: Install Dart Sass | ||
run: sudo snap install dart-sass | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v4 | ||
- name: Install Node.js dependencies | ||
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" | ||
- name: Build with Hugo | ||
env: | ||
# For maximum backward compatibility with Hugo modules | ||
HUGO_ENVIRONMENT: production | ||
HUGO_ENV: production | ||
run: | | ||
hugo \ | ||
--gc \ | ||
--minify \ | ||
--baseURL "${{ steps.pages.outputs.base_url }}/" | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: ./public | ||
|
||
# Deployment job | ||
deploy: | ||
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@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "themes/blowfish"] | ||
path = themes/blowfish | ||
url = https://github.com/nunocoracao/blowfish.git | ||
branch = main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
+++ | ||
title = '{{ replace .File.ContentBaseName "-" " " | title }}' | ||
date = {{ .Date }} | ||
draft = true | ||
+++ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# -- Site Configuration -- | ||
# Refer to the theme docs for more details about each of these parameters. | ||
# https://blowfish.page/docs/getting-started/ | ||
|
||
theme = "blowfish" | ||
baseURL = "https://nunocoracao.github.io/blowfish" | ||
defaultContentLanguage = "en" | ||
|
||
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles | ||
|
||
enableRobotsTXT = true | ||
paginate = 100 | ||
summaryLength = 30 | ||
|
||
buildDrafts = false | ||
buildFuture = false | ||
|
||
googleAnalytics = "G-PEDMYR1V0K" | ||
|
||
[imaging] | ||
anchor = 'Center' | ||
|
||
[taxonomies] | ||
tag = "tags" | ||
category = "categories" | ||
author = "authors" | ||
series = "series" | ||
|
||
[sitemap] | ||
changefreq = 'always' | ||
filename = 'sitemap.xml' | ||
priority = 0.5 | ||
|
||
[outputs] | ||
home = ["HTML", "RSS", "JSON"] | ||
|
||
[related] | ||
threshold = 0 | ||
toLower = false | ||
|
||
[[related.indices]] | ||
name = "tags" | ||
weight = 100 | ||
|
||
[[related.indices]] | ||
name = "categories" | ||
weight = 100 | ||
|
||
[[related.indices]] | ||
name = "series" | ||
weight = 50 | ||
|
||
[[related.indices]] | ||
name = "authors" | ||
weight = 20 | ||
|
||
[[related.indices]] | ||
name = "date" | ||
weight = 10 | ||
|
||
[[related.indices]] | ||
applyFilter = false | ||
name = 'fragmentrefs' | ||
type = 'fragments' | ||
weight = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
languageCode = "en" | ||
languageName = "English" | ||
weight = 1 | ||
title = "Blowfish" | ||
|
||
[params] | ||
displayName = "EN" | ||
isoCode = "en" | ||
rtl = false | ||
dateFormat = "2 January 2006" | ||
logo = "img/blowfish_logo_transparent.png" | ||
# secondaryLogo = "PATH" | ||
description = "A powerful, lightweight theme for Hugo built with Tailwind CSS." | ||
# copyright = "Copy, _right?_ :thinking_face:" | ||
|
||
[author] | ||
name = "Blowfish" | ||
image = "img/blowfish_logo.png" | ||
headline = "A powerful, lightweight theme for Hugo built with Tailwind CSS." | ||
bio = "A powerful, lightweight theme for Hugo built with Tailwind CSS." | ||
links = [ | ||
{ x-twitter = "https://twitter.com/burufugu" }, | ||
{ mastodon = "https://masto.ai/@blowfish" }, | ||
{ github = "https://github.com/nunocoracao/blowfish" }, | ||
] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# -- Markup -- | ||
# These settings are required for the theme to function. | ||
|
||
[goldmark] | ||
[goldmark.renderer] | ||
unsafe = true | ||
|
||
[highlight] | ||
noClasses = false | ||
|
||
[tableOfContents] | ||
startLevel = 2 | ||
endLevel = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# -- Main Menu -- | ||
# The main menu is displayed in the header at the top of the page. | ||
# Acceptable parameters are name, pageRef, page, url, title, weight. | ||
# | ||
# The simplest menu configuration is to provide: | ||
# name = The name to be displayed for this menu link | ||
# pageRef = The identifier of the page or section to link to | ||
# | ||
# By default the menu is ordered alphabetically. This can be | ||
# overridden by providing a weight value. The menu will then be | ||
# ordered by weight from lowest to highest. | ||
|
||
[[main]] | ||
name = "Docs" | ||
pageRef = "docs" | ||
weight = 10 | ||
|
||
[[main]] | ||
name = "Shortcodes" | ||
pageRef = "docs/shortcodes" | ||
weight = 15 | ||
|
||
[[main]] | ||
name = "Samples" | ||
pageRef = "samples" | ||
weight = 16 | ||
|
||
[[main]] | ||
name = "Examples" | ||
weight = 20 | ||
|
||
[[main]] | ||
name = "Showcase" | ||
parent = "Examples" | ||
pageRef = "examples" | ||
weight = 30 | ||
|
||
[[main]] | ||
name = "Recipes" | ||
parent = "Examples" | ||
pageRef = "guides" | ||
weight = 40 | ||
|
||
[[main]] | ||
name = "Users" | ||
pageRef = "users" | ||
weight = 90 | ||
|
||
#[[main]] | ||
# name = "Merch" | ||
# url = "http://tee.pub/lic/qwSlWVBL5zc" | ||
# weight = 100 | ||
|
||
#[[main]] | ||
# name = "Test" | ||
# pageRef = "pagTest" | ||
# weight = 1000 | ||
|
||
[[main]] | ||
identifier = "twitter" | ||
pre = "x-twitter" | ||
url = "https://twitter.com/burufugu" | ||
weight = 200 | ||
|
||
[[main]] | ||
identifier = "mastodon" | ||
pre = "mastodon" | ||
url = "https://masto.ai/@blowfish" | ||
weight = 300 | ||
|
||
[[main]] | ||
identifier = "github" | ||
pre = "github" | ||
url = "https://github.com/nunocoracao/blowfish" | ||
weight = 400 | ||
|
||
|
||
# -- Footer Menu -- | ||
# The footer menu is displayed at the bottom of the page, just before | ||
# the copyright notice. Configure as per the main menu above. | ||
|
||
[[footer]] | ||
name = "Tags" | ||
pageRef = "tags" | ||
weight = 10 | ||
|
||
[[footer]] | ||
name = "Authors" | ||
pageRef = "authors" | ||
weight = 20 |
Oops, something went wrong.