Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 2.41 KB

index.md

File metadata and controls

66 lines (45 loc) · 2.41 KB
layout logoLink ignoreGitHubButtons ignoreSupporters ignoreFastestSite searchTitle bigPossum
layouts/main.njk
/docs/
true
true
true
Eleventy Home
true

Quick Start

Eleventy {% latestVersion versions, config %} requires Node 8 or newer. Use node --version on the command line to find your local Node version.

npm install -g @11ty/eleventy
echo '# Page header' > README.md
eleventy

This will compile any files matching valid input template file extensions (.md is one of them) in the current directory into the output folder (defaults to _site).

Writing _site/README/index.html from ./README.md.
Wrote 1 file in 0.11 seconds (v0.11.0)

Run eleventy --serve to start up a web server. Then open http://localhost:8080/README/ in your web browser of choice to see your Eleventy output.

➡ Keep going! Read a longer Getting Started guide or check out the full [Documentation for {% latestVersion versions, config %}]({{ "/docs/" | url }}).

Eleventy is supported by… #

{% include "supporters.njk" %}

Latest [News]({{ '/news/' | url }})

{%- set news = collections.news | reverse | first %} {%- if news %} [{{ news.data.newstitle }}]({{ news.data.page.url }}) ({{ news.date | newsDate }}) {%- endif %}

<a href="{{ "/docs/" | url }}" class="btn-primary btn-primary-why-are-you-doing-this benchnine rainbow-active rainbow-active-noanim">Documentation for Eleventy {% latestVersion versions, config %}Todd and Bruce said this button should be bigger and as you can see they were right

Built With Eleventy

{% for key, site in sites -%}{% if site.twitter and site.disabled != true and site.url and site.featured and site.superfeatured -%} {% include "site-card.njk" %} {% endif %}{%- endfor %}

View all {{ sites | objectFilterNot("disabled") | length }} sites.

Don’t take my word for it {% emoji "🌈" %}

Listen to what these happy developers are saying about Eleventy:

{% include "testimonials.md" %}