Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

My personal website, built with 11ty

License

NotificationsYou must be signed in to change notification settings

dapierce/dapierce.github.io

Repository files navigation

Netlify Status

My personal website, built fromeleventy-base-blog v9.

IncorporatesCSSBox for the Gallery page.

Todo

  • Make 'notes' and 'links' tag icons for home/archives post listings.
  • Change Home to have blog post exerpts + notes
  • Integrate music/spotify api for currently listening
  • Redesign Home to be more minimal/typographic
    • add color with paint covering background
    • Add sections for blog, gallery, notes
  • Make notes section browsable by tags

Getting Started

  1. Clone this Repository
git clone https://github.com/dapierce/dapierce.github.io.git
  1. Navigate to the directory and install packages
npm install
  1. Run Eleventy

Generate a production-ready build to the_site folder:

npx @11ty/eleventy

Or build and host on a local development server:

npx @11ty/eleventy --serve

Or you can rundebug mode to see all the internals.


The rest is fromeleventy-base-blog v9README.md

Features

  • UsingEleventy v3 with zero-JavaScript output.
  • Performance focused: four-hundos Lighthouse score out of the box!
    • 0 Cumulative Layout Shift
    • 0ms Total Blocking Time
  • Local development live reload provided byEleventy Dev Server.
  • Content-drivennavigation menu
  • Fully automatedImage optimization
    • Zero-JavaScript output.
    • Support for modern image formats automatically (e.g. AVIF and WebP)
    • Processes images on-request during--serve for speedy local builds.
    • Prefers<img> markup if possible (single image format) but switches automatically to<picture> for multiple image formats.
    • Automated<picture> syntax markup withsrcset and optionalsizes
    • Includeswidth/height attributes to avoidcontent layout shift.
    • Includesloading="lazy" for native lazy loading without JavaScript.
    • Includesdecoding="async"
    • Images can be co-located with blog post files.
  • Per page CSS bundlesviaeleventy-plugin-bundle.
  • Built-insyntax highlighter (zero-JavaScript output).
  • Draft content: usedraft: true to mark any template as a draft. Drafts areonly included during--serve/--watch and are excluded from full builds. This is driven by theaddPreprocessor configuration API ineleventy.config.js. Schema validator will show an error if non-boolean value is set in data cascade.
  • Blog Posts
    • Automated next/previous links
    • Accessible deep links to headings
  • Generated Pages

[8]ページ先頭

©2009-2025 Movatter.jp