eleventy πβ‘οΈ
EJS
Our great sponsors
eleventy πβ‘οΈ | EJS | |
---|---|---|
244 | 12 | |
16,213 | 7,560 | |
1.8% | - | |
9.3 | 3.3 | |
about 18 hours ago | 13 days ago | |
JavaScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eleventy πβ‘οΈ
-
Converting BlogCFC blog to Eleventy
This post outlines the steps for migrating an existing BlogCFC blog to a JamStack, with a focus on using Eleventy.
-
Ask HN: What's the simplest static website generator?
I suggest you to try out eleventhy (https://www.11ty.dev/)
Quite simple to start, and a nice system to add some scripting and styles without the requirement of bringing in a framework.
-
Eleventy - Create a global production flag
A production flag enables you to run activities in dev or production such as minifying assets, showing draft posts, etc. There isn't a built-in flag or function that comes with eleventy (11ty) specifically for this. However we have this info at our fingertips.
-
Ask HN: Looking for lightweight personal blogging platform
I can't recommend Eleventy enough!
https://www.11ty.dev
I converted my WordPress blog to Eleventy 4 years ago and never looked back, it's been delightful!
https://www.joshcanhelp.com/taking-wordpress-to-eleventy/
-
Removing React is just weakness leaving your codebase
Itβs 2024, and you are about to start a new project. Do you reach for React, a framework you know and love or do you look at one of the other hot new frameworks like Astro, Enhance, 11ty, SvelteKit or gasp, plain vanilla Web Components?
-
VS Code - Fix a task automation issue - `The terminal process failed to launch (exit code: 127`
The "dev" script is running the eleventy server in dev mode. The details of the script are not important for this discussion, but to round out the background here is an abbreviated version of my package.json:
-
Eleventy vs. Next.js for static site generation
Eleventy is a fast and powerful SSG that really shines when it comes to pure static site generation because it does not require the loading of a client-side JavaScript bundle in order to serve content.
-
You don't need JavaScript for that
The irony is using a JavaScript-based static site generator to make the site: https://www.11ty.dev
-
Why You Should Write Your Own Static Site Generator
https://doublejosh.com/post/186193119278/metalsmithjs-is-sti...
Then two years ago I needed a more robust SSR system based on React, so I went with GatsbyJS. It's insanely mature and intuitive, but as we all know that community and business is now drying up too. But the framework is still great.
Now everyone sings the praises of NextJS, which can be used for SSR but is intended for applications and active server endpoints. But more complexity doesn't mean better.
I'm keen to try other simple frameworks when the result is a static site. I may give https://www.11ty.dev a shot.
-
From Jason: my custom digital garden in 11ty
11ty is a lightweight static site generator. I chopped up my HTML and used the 11ty starter template called eleventy-base-blog as the structural foundation for the site.
EJS
-
Building Secure Neon-Infused Web Apps with Auth0, Express, and EJS
Templating language - ejs
-
Top 7 template engines for Node JS 2022
Its Github repository is https://github.com/mde/ejs and it Complies with the Express view system but along with pros there are some cons of EJS like it is very difficult to read its code, especially for designers and HTML people who don't focus on Backend languages and one more con is that it has no support for block by default.
-
How to build a NestJS MVC application with YugabyteDB
With our Yugabyte database setup, letβs install the dependencies for our application. Install typeorm,pg, and ejs with the command below:
-
Develop an OpenID server with Node.js & Typescript
We need a frontend client to interact with authorization server. For this purpose we are going to use koa and EJS in combination. EJS is a template engine. It gives us the ability to write HTML files with more flexibility.
-
Developing a simple URL shortener with node, express, ejs and mysql
ejs to generate HTML template views
- Express.js Views Middleware
- How to restrict things to members in the back end
-
A nascent text template processor with Deno
EJS: https://github.com/mde/ejs
- How to render 'views' + subfolder? [NodJS & Express & EJS]?
-
yogini: Simple, prompt-driven scaffolding for continuously evolving boilerplates
You can use striate, a superset of ejs, to control which code gets generated within the files. The answers given to the prompts in yogini.json are available as variables within the scope of your template files.
What are some alternatives?
astro - The web framework for content-driven websites. βοΈ Star to support our work!
nunjucks - A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
Hugo - The worldβs fastest framework for building websites.
Jade - Pug β robust, elegant, feature rich template engine for Node.js
SvelteKit - web development, streamlined
handlebars.js - Minimal templating on steroids.
Gatsby - The best React-based framework with performance, scalability and security built in.
mustache.js - Minimal templating with {{mustaches}} in JavaScript
Publii - The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
swig
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony
marko - A declarative, HTML-based language that makes building web apps fun