layout | logoLink | ignoreGitHubButtons | ignoreSupporters | ignoreFastestSite | searchTitle | bigPossum |
---|---|---|---|---|---|---|
layouts/main.njk |
/docs/ |
true |
true |
true |
Eleventy Home |
true |
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 }}).
{% include "supporters.njk" %}
{%- 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
-
{% for key, site in sites -%}{% if site.twitter and site.disabled != true and site.url and site.featured and site.superfeatured -%}
- {% avatarlocalcache "twitter", site.twitter %}{{ site.name | safe }} {% endif %}{% endfor -%}
View all {{ sites | objectFilterNot("disabled") | length }} sites.
Listen to what these happy developers are saying about Eleventy:
{% include "testimonials.md" %}