mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 04:14:41 +00:00
refactor: rename repo
This commit is contained in:
1 parent
6f51c1ac83
commit
8441dd2471
113 files changed
+221
-219
No files matched your search
@@ -13,7 +13,7 @@ Get analytics and verification for your Hugo site by following the guide below:
|
||||
```yaml
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics
|
||||
- path: github.com/HugoBlox/kit/modules/blox-analytics
|
||||
```
|
||||
|
||||
2. Load the module in your site's `<head>` with:
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics
|
||||
module github.com/HugoBlox/kit/modules/blox-analytics
|
||||
|
||||
go 1.15
|
||||
@@ -13,7 +13,7 @@ By default, the plugin will help secure your site with some common security head
|
||||
```yaml
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify
|
||||
- path: github.com/HugoBlox/kit/modules/blox-plugin-netlify
|
||||
```
|
||||
|
||||
2. Tell Hugo to generate the Netlify `headers` and `redirects` files by adding them to Hugo's `outputs` config. For example,
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify
|
||||
module github.com/HugoBlox/kit/modules/blox-plugin-netlify
|
||||
|
||||
go 1.15
|
||||
@@ -13,7 +13,7 @@ Supports math, syntax highlighting, diagrams, speaker notes, and much more!
|
||||
```yaml
|
||||
module:
|
||||
imports:
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal
|
||||
- path: github.com/HugoBlox/kit/modules/blox-plugin-reveal
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*************************************************
|
||||
* Hugo Blox Builder - https://hugoblox.com/
|
||||
* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md
|
||||
* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md
|
||||
*
|
||||
* Reveal.JS integration
|
||||
**************************************************/
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-reveal
|
||||
module github.com/HugoBlox/kit/modules/blox-plugin-reveal
|
||||
|
||||
go 1.19
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Hugo Blox Builder - https://hugoblox.com
|
||||
* Task List Component
|
||||
* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md
|
||||
* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md
|
||||
*/
|
||||
|
||||
ul.task-list {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Collection */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Display filtered and sorted collections of pages with customizable views and pagination",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "static-site", "content", "blog", "publications", "filtering"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Contact Info Block */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Display contact information with modern card layout, including address, phone, email, social media, and optional contact form",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "static-site", "contact", "information", "address", "research-lab"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Buttons */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Create compelling vertical lists of call-to-action buttons with icons and hover effects",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "cta", "buttons", "conversion", "marketing", "social-links"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: CTA Card */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Create high-impact call-to-action cards with bold typography and compelling buttons",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "cta", "marketing", "conversion", "banner", "card"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: CTA Image Paragraph */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Engaging alternating image and text sections with feature lists and call-to-action buttons",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "marketing", "images", "features", "storytelling", "conversion"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Features */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Showcase features, benefits, or services in an organized grid with icons and descriptions",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "features", "grid", "services", "benefits", "product"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Hero */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Create compelling hero sections with headlines, announcements, and dual call-to-action buttons",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "hero", "landing-page", "cta", "marketing", "headlines"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Logos Block */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Display partner, sponsor, or collaborator logos with interactive effects and multiple display modes",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "static-site", "logos", "partners", "sponsors", "carousel", "marquee"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Markdown */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Display rich markdown content with beautiful typography and optional section titles",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "markdown", "content", "typography", "prose", "text"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Research Areas Block */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Display research focus areas with rich visuals, metrics, and interactive layouts",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "static-site", "research", "areas", "academic", "lab", "science"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Awards */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Showcase professional awards and certifications with elegant card layouts and certificate links",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "resume", "awards", "certifications", "cv", "professional"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Biography 3 */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Horizontal biography layout with integrated education and interests sections",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "resume", "biography", "horizontal", "education", "interests", "cv"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Biography */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Professional biography section with customizable avatar, social links, and personal information",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "resume", "biography", "profile", "avatar", "social", "cv"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Experience */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Professional timeline displaying work experience and education history in chronological order",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "resume", "experience", "timeline", "work", "education", "career"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Languages */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Showcase language proficiency with beautiful circular progress indicators and percentage displays",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "resume", "languages", "multilingual", "fluency", "skills", "cv"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Skills */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Display technical and professional skills with optional progress bars and organized categories",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "resume", "skills", "technical", "progress", "expertise", "cv"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Stats */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Showcase impressive statistics with modern animations, icons, and multiple layout options - enhanced for 2025/2026",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "statistics", "metrics", "achievements", "data", "numbers"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Team Showcase */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Display team members with customizable grouping, filtering, and rich profiles",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "static-site", "team", "people", "organization", "research-lab"]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Testimonials */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialise */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
"description": "Build trust with authentic customer testimonials featuring quotes, names, and profile photos",
|
||||
"author": "Hugo Blox",
|
||||
"homepage": "https://hugoblox.com/blocks/",
|
||||
"repository": "https://github.com/HugoBlox/hugo-blox-builder",
|
||||
"repository": "https://github.com/HugoBlox/kit",
|
||||
"keywords": ["hugo", "testimonials", "social-proof", "reviews", "customers", "trust"]
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
module github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind
|
||||
module github.com/HugoBlox/kit/modules/blox-tailwind
|
||||
|
||||
go 1.19
|
||||
|
||||
require github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics v0.3.0
|
||||
require github.com/HugoBlox/kit/modules/blox-analytics v0.3.0
|
||||
@@ -106,7 +106,7 @@ module:
|
||||
min: '0.148.2'
|
||||
extended: true
|
||||
imports:
|
||||
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics
|
||||
- path: github.com/HugoBlox/kit/modules/blox-analytics
|
||||
mounts:
|
||||
- source: content
|
||||
target: content
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Hugo Blox: Hero Block - Preact Wrapper */}}
|
||||
{{/* Single source of truth - Preact component handles everything */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialize variables */}}
|
||||
{{ $page := .wcPage }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Hugo Blox: Generic Preact Block Wrapper */}}
|
||||
{{/* Single wrapper for all Preact-based blocks */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/* Initialize variables */}}
|
||||
{{ $page := .wcPage }}
|
||||
@@ -42,5 +42,3 @@
|
||||
</div>
|
||||
|
||||
{{/* Preact script loading is handled by libraries.html */}}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{{ range where site.Data.page_sharer.links "enable" true }}
|
||||
|
||||
{{/* Utilise `urlquery` over `htmlEscape` to encode sharing URL */}}
|
||||
{{/* See https://github.com/HugoBlox/hugo-blox-builder/pull/2726 */}}
|
||||
{{/* See https://github.com/HugoBlox/kit/pull/2726 */}}
|
||||
{{ $link := replace .url "{url}" ($.Permalink | urlquery) }}
|
||||
{{ $link = replace $link "{title}" ($.Title | urlquery) }}
|
||||
{{/* Workaround `urlquery` encoding for mailto as `urlquery` encodes `+` as `%2B` and ` ` (space) as `+` */}}
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Fallback: extract owner from resource string (e.g., "HugoBlox/hugo-blox-builder" -> "HugoBlox") */}}
|
||||
{{/* Fallback: extract owner from resource string (e.g., "HugoBlox/kit" -> "HugoBlox") */}}
|
||||
{{- if and (not $owner) $resource -}}
|
||||
{{- $parts := split $resource "/" -}}
|
||||
{{- if gt (len $parts) 0 -}}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Get Icon Data for Preact Components */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/*
|
||||
This partial returns raw SVG content for icons, designed for Preact component integration.
|
||||
|
||||
@@ -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/hugo-blox-builder
|
||||
Powered by Hugo Blox Builder - https://github.com/HugoBlox/kit
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox Parser v2 */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{ $page := .page }}
|
||||
{{ $block := .block }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox Parser v3 - Preact Component Support */}}
|
||||
{{/* Documentation: https://hugoblox.com/blocks/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{ $page := .page }}
|
||||
{{ $block := .block }}
|
||||
|
||||
@@ -103,7 +103,7 @@
|
||||
{{ $i18n_published_with = $published_with }}
|
||||
{{ end }}
|
||||
{{ $i18n_published_with = replace $i18n_published_with "{hugoblox}" (printf "<a class=\"underline hover:opacity-100\" href=\"%s\" target=\"_blank\" rel=\"noopener\" data-hbx=\"poweredby_brand\">%s</a>" $brandHref $brandText) | safeHTML }}
|
||||
{{ $i18n_published_with = replace $i18n_published_with "{repo_link}" "<a href=\"https://github.com/HugoBlox/hugo-blox-builder\" target=\"_blank\" rel=\"noopener\">" | safeHTML }}
|
||||
{{ $i18n_published_with = replace $i18n_published_with "{repo_link}" "<a href=\"https://github.com/HugoBlox/kit\" target=\"_blank\" rel=\"noopener\">" | safeHTML }}
|
||||
{{ $i18n_published_with = replace $i18n_published_with "{/repo_link}" "</a>" | safeHTML }}
|
||||
{{ $i18n_published_with | safeHTML }}
|
||||
<a class="inline-flex items-center rounded px-2 py-0.5 border border-current ms-2 text-xs hover:opacity-100"
|
||||
|
||||
@@ -305,7 +305,7 @@
|
||||
|
||||
{{ $js_license := printf "/*! Hugo Blox Builder 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/hugo-blox-builder/blob/main/LICENSE.md */\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" }}
|
||||
{{ $i18n := dict "copy" (i18n "btn_copy") "copied" (i18n "btn_copied" | default "Copied") }}
|
||||
{{ $js_params := dict "hugoEnvironment" hugo.Environment "i18n" $i18n }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{{/* Hugo Blox: Dynamic Tailwind @source generation for Hugo modules */}}
|
||||
{{/* Documentation: https://hugoblox.com/docs/ */}}
|
||||
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}
|
||||
{{/* License: https://github.com/HugoBlox/kit/blob/main/LICENSE.md */}}
|
||||
|
||||
{{/*
|
||||
This partial generates Tailwind CSS @source directives that tell Tailwind where to scan for CSS classes.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
Licensed under MIT with Attribution Required:
|
||||
- Copyright notice and this license must be retained
|
||||
- "Powered by Hugo Blox" attribution must be maintained
|
||||
- See: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md
|
||||
- See: https://github.com/HugoBlox/kit/blob/main/LICENSE.md
|
||||
|
||||
Docs: https://docs.hugoblox.com/content/writing-markdown-latex/
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
Examples
|
||||
--------
|
||||
{{< embed platform="huggingface" resource="microsoft/DialoGPT-medium" type="model" >}}
|
||||
{{< embed platform="github" resource="hugo-blox/hugo-blox-builder" type="repo" >}}
|
||||
{{< embed platform="github" resource="hugo-blox/hugo-blox-builder" type="repo" thumbnail="true" >}}
|
||||
{{< embed platform="github" resource="hugo-blox/kit" type="repo" >}}
|
||||
{{< embed platform="github" resource="hugo-blox/kit" type="repo" thumbnail="true" >}}
|
||||
{{< embed url="https://example.com" title="Custom Title" description="Description" image="https://images.unsplash.com/photo-123" >}}
|
||||
{{< embed platform="github" resource="owner/repo" image="https://custom-image.jpg" width="600" height="400" >}}
|
||||
*/}}
|
||||
@@ -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/hugo-blox-builder
|
||||
Powered by Hugo Blox Builder - https://github.com/HugoBlox/kit
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
Licensed under MIT WITH ATTRIBUTION REQUIRED:
|
||||
- Keep this notice intact
|
||||
- Preserve visible/hidden "Powered by Hugo Blox Builder" attribution
|
||||
- See https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md
|
||||
- See https://github.com/HugoBlox/kit/blob/main/LICENSE.md
|
||||
|
||||
This shortcode relies on the Hugo Blox Builder theme ecosystem.
|
||||
Docs: https://docs.hugoblox.com/
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
name = "Hugo Blox - Tailwind"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md"
|
||||
licenselink = "https://github.com/HugoBlox/kit/blob/main/LICENSE.md"
|
||||
description = "Create any kind of website with fully customizable widgets - 50+ light/dark color themes, language packs, and widgets included."
|
||||
homepage = "https://github.com/HugoBlox/hugo-blox-builder"
|
||||
homepage = "https://github.com/HugoBlox/kit"
|
||||
demosite = "https://hugo-academic-pages.netlify.app/"
|
||||
tags = ["widgets",
|
||||
"portfolio",
|
||||
|
||||
Reference in new issue
Block a user