chore(templates): update modules to latest commits

This commit is contained in:
Splitter
2025-12-01 03:40:52 +00:00
parent a6a2fe83bd
commit 7bc077a2bf
2 changed files with 250 additions and 79 deletions

View File

@@ -1,27 +1,34 @@
# SITE SETUP # ══════════════════════════════════════════════════════════════════════════════
# Guide: https://docs.hugoblox.com/tutorial/
# Documentation: https://docs.hugoblox.com/
# This file is formatted using YAML syntax - learn more at https://learnxinyminutes.com/docs/yaml/
# ==============================================================================
# HUGO BLOX CONFIGURATION # HUGO BLOX CONFIGURATION
# ============================================================================== # Schema: hugoblox.com/schema/v2
# Tutorial: https://docs.hugoblox.com/tutorial/
# Documentation: https://docs.hugoblox.com/
# ══════════════════════════════════════════════════════════════════════════════
hugoblox: hugoblox:
schema: "2.0"
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
# BRANDING # IDENTITY
# Your site's identity - used in navbar, footer, SEO, and copyright # Site-level branding (for people/profiles, use the author system in content/authors/)
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
branding: identity:
# Display name shown in navbar and general site display # Site name - shown in navbar, footer, copyright, and browser title by default
name: "Your Name" name: "Your Name"
# Optional: Browser tab title (defaults to name if not set) # Legal entity for copyright notices (defaults to name if not set)
# site_title: "Your Name | Research" organization: ""
# Optional: Legal/copyright entity (defaults to name if not set) # Schema.org type for structured data
# organization: "Your Full Legal Name" type: person # person | organization | local_business
# Short tagline displayed on your site
tagline: ""
# Site meta description for search engines and social sharing
description: "The highly-customizable Hugo Academic theme powered by Hugo Blox Builder. Easily create your personal academic website."
# Social accounts (used for meta tags like Twitter Cards)
social:
twitter: "BuildLore" # Twitter/X handle for Twitter Cards (without @)
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
# THEME # THEME
# Controls colors and appearance # Color and visual design system
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
theme: theme:
# Mode: 'light', 'dark', or 'system' (follows OS preference) # Mode: 'light', 'dark', or 'system' (follows OS preference)
@@ -29,14 +36,27 @@ hugoblox:
# Theme pack: name from data/themes/ or { light: "x", dark: "y" } for mix-and-match # Theme pack: name from data/themes/ or { light: "x", dark: "y" } for mix-and-match
pack: "default" pack: "default"
# Optional: Override theme pack colors # Optional: Override theme pack colors
# colors: colors:
# primary: "indigo" # Tailwind palette name or hex (e.g., "#6366f1") primary: "" # Tailwind palette name or hex (e.g., "indigo" or "#6366f1")
# secondary: "emerald" secondary: ""
# neutral: "stone" # Affects gray utilities (text-gray-*, bg-gray-*) neutral: "" # Affects gray utilities (text-gray-*, bg-gray-*)
# Optional: Mode-specific color overrides
colors_light: {}
colors_dark: {}
# Optional: Semantic surface color overrides
surfaces:
background: ""
foreground: ""
header:
background: ""
foreground: ""
footer:
background: ""
foreground: ""
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
# TYPOGRAPHY # TYPOGRAPHY
# Controls fonts and text sizing # Font and text sizing
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
typography: typography:
# Font: 'sans' (Inter), 'serif' (Roboto Slab), or 'native' (system fonts) # Font: 'sans' (Inter), 'serif' (Roboto Slab), or 'native' (system fonts)
@@ -46,77 +66,228 @@ hugoblox:
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
# LAYOUT # LAYOUT
# Controls spacing and visual structure # Spacing and shape tokens
# ──────────────────────────────────────────────────────────────────────────── # ────────────────────────────────────────────────────────────────────────────
layout: layout:
# Border radius: 'none', 'sm', 'md', 'lg', or 'full' # Border radius: 'none', 'sm', 'md', 'lg', or 'full'
radius: "md" radius: "md"
# Spacing density: 'compact', 'comfortable', or 'spacious' # Spacing density: 'compact', 'comfortable', or 'spacious'
spacing: "comfortable" spacing: "comfortable"
# Avatar shape in author profiles
avatar_shape: circle # circle | square | rounded
# ============================================================================== # ────────────────────────────────────────────────────────────────────────────
# SEO & MARKETING # HEADER
# ============================================================================== # Site header and navigation bar
marketing: # ────────────────────────────────────────────────────────────────────────────
seo:
site_type: Person
local_business_type: ''
description: 'The highly-customizable Hugo Academic theme powered by Hugo Blox Builder. Easily create your personal academic website.'
twitter: 'BuildLore'
llm:
allow:
- /
disallow: []
note: 'Guidance for AI crawlers - customize to match your public content.'
contact: ''
policy_url: ''
analytics:
google_analytics: ''
baidu_tongji: ''
plausible: ''
fathom: ''
pirsch: ''
verification:
google: ''
baidu: ''
# ==============================================================================
# SITE HEADER
# ==============================================================================
header: header:
navbar:
enable: true enable: true
block: 'navbar' # Header style variant
fixed_to_top: true style: navbar # navbar | navbar-simple | minimal
show_search: true # Stick to top on scroll
show_mode_toggle: true sticky: true
show_theme_picker: true # Menu alignment
align: center # left | center | right
# Feature toggles
search: true
theme_toggle: true
theme_picker: false
language_switcher: true
# Call-to-action button
cta:
enable: false
text: ""
url: ""
# ============================================================================== # ────────────────────────────────────────────────────────────────────────────
# SITE FOOTER # FOOTER
# ============================================================================== # Site footer
# ────────────────────────────────────────────────────────────────────────────
footer: footer:
# Footer style variant
style: minimal # minimal | columns | centered
language_switcher: true
# Custom footer text (HTML supported)
text: ""
# ────────────────────────────────────────────────────────────────────────────
# COPYRIGHT
# Legal notices and licensing
# ────────────────────────────────────────────────────────────────────────────
copyright: copyright:
# Use {year} for current year, {name} for branding.organization, {license} for CC license link # Copyright notice - supports {year}, {name}, {license} placeholders
notice: '© {year} {name}. This work is licensed under {license}' notice: "© {year} {name}. This work is licensed under {license}"
license: license:
enable: true type: cc # cc | all_rights | custom
allow_derivatives: false allow_derivatives: false
share_alike: true share_alike: true
allow_commercial: false allow_commercial: false
# ============================================================================== # ────────────────────────────────────────────────────────────────────────────
# LOCALIZATION # SEO
# ============================================================================== # Search engine optimization - overrides and technical settings
locale: # ────────────────────────────────────────────────────────────────────────────
date_format: 'Jan 2, 2006' seo:
time_format: '3:04 PM' # Browser tab title override (defaults to identity.name if not set)
title: ""
# For local_business identity type only
location:
address:
street: ""
city: ""
region: ""
postal_code: ""
country: ""
coordinates:
latitude: null
longitude: null
phone: ""
# AI/LLM crawler guidance (llms.txt)
ai:
allow:
- /
disallow: []
note: "Guidance for AI crawlers - customize to match your public content."
contact: ""
# ============================================================================== # ────────────────────────────────────────────────────────────────────────────
# SITE FEATURES # CONTENT
# ============================================================================== # Content rendering and behavior
features: # ────────────────────────────────────────────────────────────────────────────
content:
# Math rendering
math: math:
enable: false enable: false
privacy_pack: # Table of contents
toc:
enable: true
# Reading time estimates
reading_time:
enable: true
# Academic citations
citations:
style: apa # apa | mla | chicago | ieee
# ────────────────────────────────────────────────────────────────────────────
# SEARCH
# Site search
# ────────────────────────────────────────────────────────────────────────────
search:
enable: true
# Trending/suggested search terms
suggestions: []
# Quick action shortcuts in search modal
quick_actions: []
# ────────────────────────────────────────────────────────────────────────────
# COMMENTS
# User comments system
# ────────────────────────────────────────────────────────────────────────────
comments:
enable: false enable: false
provider: "" # giscus | disqus | commento
giscus:
repo: ""
repo_id: ""
category: ""
category_id: ""
disqus:
shortname: ""
commento:
url: ""
# ────────────────────────────────────────────────────────────────────────────
# ANALYTICS
# Traffic and behavior analytics
# ────────────────────────────────────────────────────────────────────────────
analytics:
google:
measurement_id: "" # Google Analytics 4: G-XXXXXXXXXX
google_tag_manager:
container_id: "" # GTM-XXXXXXX
plausible:
domain: ""
fathom:
site_id: ""
pirsch:
site_id: ""
clarity:
project_id: ""
baidu:
site_id: ""
# ────────────────────────────────────────────────────────────────────────────
# VERIFICATION
# Search engine site verification codes
# ────────────────────────────────────────────────────────────────────────────
verification:
google: ""
bing: ""
baidu: ""
yandex: ""
pinterest: ""
naver: ""
# ────────────────────────────────────────────────────────────────────────────
# REPOSITORY
# Source code repository for "Edit this page" links
# ────────────────────────────────────────────────────────────────────────────
repository:
enable: false
url: "" # e.g., https://github.com/username/repo
branch: main
content_dir: content
# ────────────────────────────────────────────────────────────────────────────
# LOCALE
# Regional formatting preferences
# ────────────────────────────────────────────────────────────────────────────
locale:
date_format: "Jan 2, 2006" # Go time format
time_format: "3:04 PM"
address_format: en-us
# ────────────────────────────────────────────────────────────────────────────
# SECURITY
# Security headers and policies (requires blox-plugin-netlify)
# ────────────────────────────────────────────────────────────────────────────
security:
csp:
policy: ""
report_only: false
frame_options: deny # deny | sameorigin | allow
permissions_policy: ""
# ────────────────────────────────────────────────────────────────────────────
# PRIVACY
# Privacy and compliance features
# ────────────────────────────────────────────────────────────────────────────
privacy:
enable: false
anonymize_analytics: true
# ────────────────────────────────────────────────────────────────────────────
# DEBUG
# Development and debugging (hidden in production)
# ────────────────────────────────────────────────────────────────────────────
debug:
enable: false
hud:
position: bottom-left # top-left | top-right | bottom-left | bottom-right
opacity: 1.0
export_logs: true
# ────────────────────────────────────────────────────────────────────────────
# PRO
# Pro subscription features and affiliate program
# ────────────────────────────────────────────────────────────────────────────
pro:
# Hide "Powered by HugoBlox" attribution
# Requires: Pro subscription to support HugoBlox via alternative means
# Note: Even with Pro, you can keep this false to support open source!
# Get Pro: https://hugoblox.com/pro
hide_attribution: false
# Affiliate referral code for rewards program
# Join affiliate program: https://hugoblox.com/affiliates
affiliate_code: ""

4
go.mod
View File

@@ -3,6 +3,6 @@ module github.com/HugoBlox/hugo-blox-builder/templates/academic-cv
go 1.19 go 1.19
require ( require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v0.0.0-20231109145828-d9695efa098f github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v0.0.0-20251201030931-373eb7966ed8
github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.0.0-20251130065528-c8f2322fa65e github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.0.0-20251201031547-42824bfc8e29
) )