refactor: repo rename

This commit is contained in:
George Cushen committed 2026-01-02 22:07:38 +00:00
1 parent 93d45a6e89
commit ad2af1f352
56 files changed
+86 -87

No files matched your search

@@ -1,4 +1,4 @@
/* Hugo Blox Builder - https://hugoblox.com
/* HugoBlox Kit - https://hugoblox.com
* Task List Component
* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md
*/
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* Citation clipboard handler for Hugo Blox Builder
* Citation clipboard handler for Hugo Blox Kit
* Copies BibTeX citation to clipboard when cite button is clicked
*/
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* Clipboard Utilities for Hugo Blox Builder
* Clipboard Utilities for Hugo Blox Kit
* Provides cross-browser clipboard functionality
*/
+1 -1
View File
@@ -1,6 +1,6 @@
import {applyHugoStyleFixes, initTheme} from "./hb-init.js";
// Initialize Hugo Blox Builder global object
// Initialize Hugo Blox Kit global object
const root = document.documentElement;
const defaultTheme = root.dataset.wcThemeDefault || "system";
const relBase = root.dataset.hbbRelurl || "/";
+1 -1
View File
@@ -1,5 +1,5 @@
/**
* Notification/Toast System for Hugo Blox Builder
* Notification/Toast System for Hugo Blox Kit
* Provides reusable notification functionality
*/
+1 -1
View File
@@ -1,4 +1,4 @@
// Hugo Blox Builder Light / Dark theme toggle
// Hugo Blox Kit Light / Dark theme toggle
document.addEventListener("DOMContentLoaded", () => {
addThemeToggleListener();
});
+3 -4
View File
@@ -22,11 +22,11 @@ sections:
subtitle: Find answers to common questions
text: Can't find what you're looking for? [Contact us](/contact)
items:
- question: What is Hugo Blox Builder?
answer: Hugo Blox Builder is a no-code website builder framework powered by Hugo and Tailwind CSS.
- question: What is HugoBlox Kit?
answer: HugoBlox Kit is a no-code website builder framework powered by Hugo and Tailwind CSS.
- question: Is it free to use?
answer: Yes! Hugo Blox Builder is open source and free to use under the MIT license.
answer: Yes! HugoBlox Kit is open source and free to use under the MIT license.
- question: How do I get started?
answer: |
@@ -55,4 +55,3 @@ This block automatically generates FAQPage structured data for better SEO and el
- **Colors**: Automatically adapts to your theme
- **Spacing**: Customizable via `design.spacing`
- **Background**: Customizable via `design.background.color`
+1 -1
View File
@@ -262,4 +262,4 @@ title: "Learn ==Smarter==, Not ==Harder=="
---
**Part of Hugo Blox Builder** - https://hugoblox.com
**Part of HugoBlox Kit** - https://hugoblox.com
+1 -1
View File
@@ -1,4 +1,4 @@
# Hugo Blox Builder Icon Library
# HugoBlox Kit Icon Library
icons:
# Callouts
@@ -1,5 +1,5 @@
{{/*
Hugo Blox Builder Blockquote Render Hook
Hugo Blox Kit Blockquote Render Hook
Renders standard blockquotes and GitHub/Obsidian-style alerts (callouts).
@@ -1,4 +1,4 @@
{{/* Markdown Image Renderer for Hugo Blox Builder. */}}
{{/* Markdown Image Renderer for Hugo Blox Kit. */}}
{{/* Load image from page dir falling back to media library at `assets/media/` and then to remote URI. */}}
{{ $destination := .Destination }}
@@ -1,5 +1,5 @@
{{/*
HugoBlox Builder: Generate Color Scale
Hugo Blox Kit: Generate Color Scale
Generate Tailwind-like 50–950 scale for a given color.
Supports palette names and hex values.
*/}}
@@ -1,5 +1,5 @@
{{/* Return the requested SVG icon */}}
{{/* Search for the icon in the Hugo Blox Builder icon library, falling back to user's icon library */}}
{{/* Search for the icon in the Hugo Blox Kit icon library, falling back to user's icon library */}}
{{ $dirFile := path.Split .name }}
{{ $pack := .pack | default (strings.Replace $dirFile.Dir "/" "") | default "hero" }}
@@ -1,14 +1,14 @@
{{/* Uniform 'sort_by' parameter between built-in Hugo and Hugo Blox Builder ones */}}
{{/* Uniform 'sort_by' parameter between built-in Hugo and Hugo Blox Kit ones */}}
{{/* Input: 'sort_by' parameter (string) */}}
{{/* Output: fixed 'sort_by' parameter (string) */}}
{{/*
Fix the 'sort_by' parameter, by adding "Params." as prefix if it is not a built-in Hugo parameter.
Since Hugo Blox Builder parameters are all standardised to lowercase-underscore convention, we:
Since Hugo Blox Kit parameters are all standardised to lowercase-underscore convention, we:
- remove any leading ".": ".Date" is the same as "Date"
- check the first letter:
- if it is capitalized, then we have a built-in Hugo parameter, and we do nothing
- otherwise, it is a custom Hugo Blox Builder parameter, and we add "Params." as prefix
- otherwise, it is a custom Hugo Blox Kit parameter, and we add "Params." as prefix
This logic should also be backward compatible, since "Params.my_param" is not modified.
*/}}
@@ -1,8 +1,8 @@
{{/*
Hugo Blox Builder Ecosystem Verification
Hugo Blox Kit Ecosystem Verification
Reusable verification function for Hugo Blox components.
Ensures all required Hugo Blox Builder dependencies are present.
Ensures all required Hugo Blox Kit dependencies are present.
Usage: {{ partial "functions/hbx_verify.html" . }}
Returns: "verified" or "failed"
@@ -535,6 +535,6 @@
<div class="hb-notebook-empty">{{ $emptyMessage }}</div>
{{- end }}
<div class="sr-only" data-hb-component="notebook" data-hb-version="1.0" data-hb-license="MIT">
Powered by Hugo Blox Builder - https://github.com/HugoBlox/kit
Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit
</div>
</div>
@@ -1,5 +1,5 @@
{{/*
Responsive Image Processor for Hugo Blox Builder (HBB)
Responsive Image Processor for Hugo Blox Kit (HBB)
Uses Hugo's .Process method with configurable quality and responsive breakpoints
Parameters:
@@ -1,5 +1,5 @@
{{/*
Hugo Blox Builder Shared Callout Renderer
Hugo Blox Kit Shared Callout Renderer
Renders callouts with consistent styling for both shortcodes and render hooks.
@@ -1,4 +1,4 @@
{{/* Hugo Blox Builder content preview renderer */}}
{{/* Hugo Blox Kit content preview renderer */}}
{{ $page := .page }}
{{ $item := .item }}
@@ -55,7 +55,7 @@
{{ end }}
{{/* Per-site variant selection */}}
{{- $brandOptions := slice "Hugo Blox" "Hugo Blox Builder" "Hugo Blox — Open Source" -}}
{{- $brandOptions := slice "Hugo Blox" "Hugo Blox Kit" "Hugo Blox — Open Source" -}}
{{- $ctaWhenTemplate := slice "Duplicate this template →" "Clone this template →" "Build yours →" "Create yours →" "Build your site →" "Create your site →" -}}
{{- $ctaNoTemplate := slice "Start free →" "Build yours →" "Create yours →" "Build your site →" "Create your site →" -}}
@@ -3,7 +3,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="generator" content="Hugo Blox Builder {{ site.Data.hugoblox.version }}" />
<meta name="generator" content="Hugo Blox Kit {{ site.Data.hugoblox.version }}" />
{{/* EXTENSIBILITY HOOK: HEAD-START */}}
{{ partial "functions/get_hook" (dict "hook" "head-start" "context" .) }}
@@ -303,7 +303,7 @@
{{/* !CACHED! Initialized once at site level and then cached for each page */}}
{{- partialCached "init.html" . "hb_init_once" -}}
{{ $js_license := printf "/*! Hugo Blox Builder Tailwind UI v%s | https://hugoblox.com/ */\n" site.Data.hugoblox.version }}
{{ $js_license := printf "/*! Hugo Blox Kit Tailwind UI v%s | https://hugoblox.com/ */\n" site.Data.hugoblox.version }}
{{ $js_license := $js_license | printf "%s/*! Copyright 2016-present George Cushen (https://georgecushen.com/) */\n" }}
{{ $js_license := $js_license | printf "%s/*! License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */\n" }}
{{ $js_bundle_head := $js_license | resources.FromString "js/bundle-head.js" }}
+1 -1
View File
@@ -1,4 +1,4 @@
{{/* Audio Shortcode for Hugo Blox Builder. */}}
{{/* Audio Shortcode for Hugo Blox Kit. */}}
{{/* Load audio from page dir falling back to media library at `assets/media/` and then to remote URI. */}}
{{/* Supports primarily MP3 and MP4. */}}
+1 -1
View File
@@ -1,5 +1,5 @@
{{/*
Button Shortcode for Hugo Blox Builder
Button Shortcode for Hugo Blox Kit
Docs: https://docs.hugoblox.com/content/writing-markdown-latex/
@@ -18,7 +18,7 @@
----------
#0 : optional, positional
Name of the icon to display in the callout component.
Default Hugo Blox Builder available options include "note" and "warning".
Default Hugo Blox Kit available options include "note" and "warning".
Otherwise, you can add your own icon to assets/media/icons/ and reference its name when calling the shortcode.
*/}}
+2 -2
View File
@@ -1,14 +1,14 @@
{{/*
Docs: https://docs.hugoblox.com/content/writing-markdown-latex/#cite
Cite shortcode for Hugo Blox Builder.
Cite shortcode for Hugo Blox Kit.
Parameters
----------
page : required
Path to Markdown page to be referenced.
view : optional, default "citation"
A built-in Hugo Blox Builder view or an installed community view.
A built-in Hugo Blox Kit view or an installed community view.
*/}}
+3 -3
View File
@@ -50,10 +50,10 @@
{{< embed platform="github" resource="owner/repo" image="https://custom-image.jpg" width="600" height="400" >}}
*/}}
{{/* Hugo Blox Builder ecosystem verification - Required for functionality */}}
{{/* Hugo Blox Kit ecosystem verification - Required for functionality */}}
{{- $hbx_verification_result := partial "functions/hbx_verify.html" . -}}
{{- if ne $hbx_verification_result "verified" -}}
{{ errorf "Hugo Blox Embed requires complete Hugo Blox Builder theme ecosystem at %s" .Position }}
{{ errorf "Hugo Blox Embed requires complete Hugo Blox Kit theme ecosystem at %s" .Position }}
{{- end -}}
{{ $hbx_embed_id := delimit (slice "hb-embed" (partial "functions/uid.html" .)) "-" }}
@@ -189,7 +189,7 @@
<!-- Required MIT Attribution - Do Not Remove -->
<div class="sr-only" data-hb-component="embed" data-hb-version="1.0" data-hb-license="MIT">
Powered by Hugo Blox Builder - https://github.com/HugoBlox/kit
Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit
</div>
</div>
@@ -4,7 +4,7 @@
Parameters
----------
#0 : positional
User account in Hugo Blox Builder to mention.
User account in Hugo Blox Kit to mention.
*/}}
{{- $username := .Get 0 -}}
@@ -4,10 +4,10 @@
Licensed under MIT WITH ATTRIBUTION REQUIRED:
- Keep this notice intact
- Preserve visible/hidden "Powered by Hugo Blox Builder" attribution
- Preserve visible/hidden "Powered by Hugo Blox Kit" attribution
- See https://github.com/HugoBlox/kit/blob/main/LICENSE.md
This shortcode relies on the Hugo Blox Builder theme ecosystem.
This shortcode relies on the Hugo Blox Kit theme ecosystem.
Docs: https://docs.hugoblox.com/
Render Jupyter/Quarto notebooks directly inside Markdown while keeping blocks editable.
+1 -1
View File
@@ -1,4 +1,4 @@
{{/* Table Shortcode for Hugo Blox Builder. */}}
{{/* Table Shortcode for Hugo Blox Kit. */}}
{{/* Load a CSV table from page dir falling back to remote URL */}}
{{/* Defaults to expecting a comma-separated CSV with a header row. */}}
+1 -1
View File
@@ -1,4 +1,4 @@
{{/* Video Shortcode for Hugo Blox Builder. */}}
{{/* Video Shortcode for Hugo Blox Kit. */}}
{{/* Load video from page dir falling back to media library at `assets/media/` and then to remote URI. */}}
{{/*
+2 -2
View File
@@ -1,9 +1,9 @@
{{- define "main" -}}
{{/* Check that user fully installed Hugo Blox Builder. */}}
{{/* Check that user fully installed Hugo Blox Kit. */}}
{{/* Commented out to allow user to have no params.yaml and just use the defaults. */}}
{{/* if not (isset site.Params "seo") */}}
{{/* errorf "Please complete the installation of Hugo Blox Builder by following the steps at https://docs.hugoblox.com/" */}}
{{/* errorf "Please complete the installation of Hugo Blox Kit by following the steps at https://docs.hugoblox.com/" */}}
{{/* end */}}
{{/* Deprecation warnings */}}
+1 -1
View File
@@ -15,7 +15,7 @@
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end -}}
<description>{{ .Title | default site.Title }}</description>
<generator>Hugo Blox Builder (https://hugoblox.com)</generator>
<generator>HugoBlox Kit (https://hugoblox.com)</generator>
{{- with site.LanguageCode }}<language>{{.}}</language>{{end -}}
{{- with site.Copyright }}<copyright>{{ replace (replace . "{year}" now.Year) "&copy;" "©" | plainify }}</copyright>{{end -}}
{{- if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end -}}
+1 -1
View File
@@ -1,5 +1,5 @@
/*************************************************
* Hugo Blox Builder - https://hugoblox.com/
* Hugo Blox Kit - https://hugoblox.com/
* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md
*
* Reveal.JS integration
+1 -1
View File
@@ -10,7 +10,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="generator" content="Hugo Blox Builder {{with site.Data.hugoblox.version}}{{.}}{{end}}">
<meta name="generator" content="HugoBlox Kit {{with site.Data.hugoblox.version}}{{.}}{{end}}">
{{ with site.Home.OutputFormats.Get "WebAppManifest" }}
<link rel="manifest" href="{{ .RelPermalink }}">