GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - carusog/blog: My personal weblog

BranchesTags
Open more actions menu

Latest commit

 

History

60 Commits
60 Commits

Folders and files

NameName
Last commit message
Last commit date
_data
_data
 
 
_includes
_includes
 
 
content
content
 
 
public
public
 
 
scripts
scripts
 
 
types
types
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.nojekyll
.nojekyll
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.json
.prettierrc.json
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
UPGRADE_PLAN.md
UPGRADE_PLAN.md
 
 
buildawesome.config.drafts.ts
buildawesome.config.drafts.ts
 
 
buildawesome.config.images.ts
buildawesome.config.images.ts
 
 
buildawesome.config.ts
buildawesome.config.ts
 
 
eslint.config.mjs
eslint.config.mjs
 
 
netlify.toml
netlify.toml
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

carusog.com

Giuseppe Caruso's blog, built with Build Awesome v4 alpha (the next version of Eleventy). This is a static site: no client-side JavaScript is needed to render a page. The GitHub profile README lives in a separate repository; this README documents the blog.

Local development

Use Node 24 (pinned in package.json via Volta) and pnpm 12.10.1. If you use Corepack, run corepack enable before the commands below.

pnpm install --frozen-lockfile
pnpm run start:watch # dev server plus Tailwind CSS watcher

Other commands:

pnpm run build      # typecheck, compile CSS, clear _site, then build pages
pnpm run start      # dev server (CSS compiled once; use start:watch when editing CSS)
pnpm run lint       # TypeScript, ESLint, and Prettier checks
pnpm run typecheck  # TypeScript only (no emitted JS)

The production build is in _site/. Builds remove previous output first so HTML generated for drafts during local development cannot accidentally be deployed.

How it works

  • buildawesome.config.ts is the native TypeScript configuration; its local image and draft plugins are also TypeScript. Node 24 strips types at runtime, and tsc --noEmit checks them separately. No transpilation step is needed for build-time TypeScript.
  • Build Awesome processes Markdown, Nunjucks, HTML, and Liquid in content/, plus .11ty.ts templates (see content/robots.11ty.ts). Data in _data/ and content/**/*.11tydata.js remains JavaScript. Layouts and includes are in _includes/.
  • public/css/tailwind.css is compiled by Tailwind into the tracked public/css/index.css. The public/ directory is copied to the output. Image optimization uses @11ty/eleventy-img and Sharp; posts can use the {% image %} shortcode.
  • Published posts produce the home page, archive, tags, Atom/JSON feeds, and a sitemap. Set draft: true on a post to show it during serve/watch while excluding it from production builds.
  • The robots.txt output is generated by a typed Build Awesome template using the site's canonical URL in _data/metadata.js.

Deployment

netlify.toml uses Node 24 and runs pnpm run build. The Netlify Lighthouse plugin configuration needs reviewing. If using GitHub Pages, configure and test the /blog/ project-site path prefix before deploying; the upstream starter's GitHub Pages script was removed because its paths are incorrect for this repo. Build Awesome v4 is still an alpha; preview the output before publishing.

See Build Awesome's TypeScript docs for configuration and .11ty.ts template details, and UPGRADE_PLAN.md for remaining release work.

About

My personal weblog

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.