Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@an11ty/starter-minimal

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@an11ty/starter-minimal

Absolutely minimal starter site for an11ty with a few example files.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

Starter Site

This is an absolutely minimal starter for a website built using an11ty.

For a more complete starter, you should look at the official an11ty starter pack.

Setup

If you are starting from scratch, you can create a copy with no bindings to this git repository using:

npx degit an11ty/starter-minimal my-website
cd my-website
git init
npm install

Build

Build all pages and assets using:

npm run build

Develop

Same as building, but updates pages and assets when file changes are detected, and launches a local HTTP server on port 8080:

npm run dev

Folder Structure

This website uses the an11ty/template-minimal, which does not have very many options.

/

The root folder of this project will not be built, so it typically contains documentation or other non-public assets.

/site

This folder contains all the site pages, articles, images, styles, etc.

Although not everything in it will be copied or merged into the final site, it is safest to consider everything in it as "public" since it may accidentally be copied over and accessible from your published website.

/site/_data

This folder holds data that is then accessible inside templates. It has a file metadata.js that has the site name and other significant details.

Contributing

Please file any issues or start discussions for this starter project over in the an11ty issues.

License

This starter project published and released under the Very Open License, which is a type of "public domain" license. Attribution is always appreciated, but it means you are free to remove this license and any reference to this project, for example in a business or personal website.

Keywords

FAQs

Package last updated on 02 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc